And there is an widget for that. Check the marketplace DynamicEnumPicker : https://marketplace.mendix.com/link/component/111237
Regards,
Ronald
Hey there,
You can hide certain values in a dropdown list using CSS very easily; just create and add a class to your dropdown list. In the class, use a selector that looks for the value of the list item you want to block, and then display – none. However, if a user inspects the page, they will be able to undo the ‘display:none;’ setting. Make sure to add a check in your form validation that fails if that value is selected. Then together, this design is robust. Plus, using conditional styling, you can trigger these classes depending on your boolean attribute.
Hope this helps, Best regards, Wouter
Hi Ramya,
As far as I know this is not possible with the regular dropdown, however there is an alternative you can use.
Hope this helps!