Enum fields problem during editining entities

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

    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
    Member
    • Mar 2014
    • 8440

    #2
    Is "Brak" value among available field options?
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • yuri
      Member
      • Mar 2014
      • 8440

      #3
      Do you have custom options dynamic logic for this field?
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      • yuri
        Member
        • Mar 2014
        • 8440

        #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.
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        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:	358
Size:	62.7 KB
ID:	83172

          Comment

          • Adam_KSA
            Junior Member
            • Mar 2022
            • 18

            #6
            "Domyślne" means default value

            Comment

            • yuri
              Member
              • Mar 2014
              • 8440

              #7
              Reproduced when the empty values is not first. As a temp workaround you can place the empty value at first position.
              If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

              Comment

              • yuri
                Member
                • Mar 2014
                • 8440

                #8
                This fix should help: https://github.com/espocrm/espocrm/c...eebb5cab83c1f6
                If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

                Comment

                Working...