Announcement

Collapse
No announcement yet.

Entity Manager enum - Conditional Options are missing when Options Reference is used

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Entity Manager enum - Conditional Options are missing when Options Reference is used



    When you create an Enum field in the Entity Manager, you can add conditional options to make certain values only appear in the dropdown based on the value of a different field.

    However, when you use the 'Options Reference' to tell it to 'borrow' the options list from a different Enum to populate this Enum, those fields aren't available in the conditional options.

    Steps to reproduce:

    1. Create new Enum and populate options

    Click image for larger version

Name:	image.png
Views:	47
Size:	50.8 KB
ID:	111655
    2. In Conditional Optons, different options can be shown or hidden based on the value of a different field

    Click image for larger version

Name:	image.png
Views:	44
Size:	30.6 KB
ID:	111656

    3. Create second Enum, with Options Reference set so that it 'borrows' the options list from the first Enum​

    Click image for larger version

Name:	image.png
Views:	66
Size:	15.9 KB
ID:	111654

    4. Options are not available to select in Conditional Options

    Click image for larger version

Name:	image.png
Views:	43
Size:	13.2 KB
ID:	111658

    Expected Behaviour: 'Borrowed' options should be avai​​lable to choose in the Conditional Options


    EspoCRM version: 8.3.6
    PHP version 8.1.2
    DB version: MySQL 8.0.39


    Attached Files
Working...
X