Add visibility conditions to enumeration values - Mendix Forum

Add visibility conditions to enumeration values


I would like to be able to set visibility conditions on enumeration values in the widget used to display that enumeration to the user, in a similar vein as when setting the visibility for a container, attribute or any other page element, so I can control when to show what value to the user.


Currently, when for example creating a form to cancel multiple types of insurances where each insurance type has its own list of reasons for why the user wants to cancel,  you need to create each list of reasons separately, which also means creating multiple attributes in the domain model to store the value, or download/create a custom widget.


It would be far easier, also resulting in cleaner code, to be able to set when an enum value is displayed right from the widget you use to show those values.

0 answers