Need to add Null value in enumeration

Hello, I am using Mendix Version 8.18.14. There I want to add NULL value for enumeration through IF statement but I don't want to add any NULL value in enumeration directly because if I would do that if will show as a extra value in UI also which I don’t want. So how can I proceed so that  I can add null value to enum type using IF statement. Please help me out. Thanks in advance
1 answers

Hi Trishla,


An enumeration by default has a NULL (empty) value as well. For example when evaluating a enumeration in an exclusive split, you will see it also has the empty value to consider. F.e.:


You can set it by setting an object to empty. If you want it to be selectable rather use a dropdown button instead of radio buttons as radio buttons cannot be unselected.

The first line here is the NULL (empty) value.

Same if in the radio buttons above, there is nothing selected it is an empty value.