Enum fields problem during editining entities

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Adam_KSA
    Junior Member
    • Mar 2022
    • 18

    #1

    Enum fields problem during editining entities

    EspoCRM version 7.2.3 and 7.2.4

    BUG
    During editing entities the empty fields (enum) change themselves into first value from enum field.

    For example.
    Default value after save entitie - "brak"


    Click image for larger version  Name:	image.png Views:	0 Size:	16.8 KB ID:	83159

    After press edit button (or pencil) - value automatically changes itself to first created option from enum field (in this case from "brak" into "Tak")

    Click image for larger version  Name:	image.png Views:	0 Size:	25.3 KB ID:	83160


    ​​
    Attached Files
    Last edited by Adam_KSA; 09-19-2022, 11:46 AM.
  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9630

    #2
    Is "Brak" value among available field options?

    Comment

    • yuri
      EspoCRM product developer
      • Mar 2014
      • 9630

      #3
      Do you have custom options dynamic logic for this field?

      Comment

      • yuri
        EspoCRM product developer
        • Mar 2014
        • 9630

        #4
        Unfortunately, no steps to reproduce. Provided information was not enough for me to reproduce. I can't consider it as bug until I can reproduce.

        Comment

        • Adam_KSA
          Junior Member
          • Mar 2022
          • 18

          #5
          No, i haven't filed "Brak" just empty value : Click image for larger version

Name:	image.png
Views:	488
Size:	62.7 KB
ID:	83172

          Comment

          • Adam_KSA
            Junior Member
            • Mar 2022
            • 18

            #6
            "Domyślne" means default value

            Comment

            • yuri
              EspoCRM product developer
              • Mar 2014
              • 9630

              #7
              Reproduced when the empty values is not first. As a temp workaround you can place the empty value at first position.

              Comment

              • yuri
                EspoCRM product developer
                • Mar 2014
                • 9630

                #8
                This fix should help: https://github.com/espocrm/espocrm/c...eebb5cab83c1f6

                Comment

                Working...