Dropdown - Empty Option as Optional - Mendix Forum

Dropdown - Empty Option as Optional


Add the ability to disable or enable the empty dropdown option (with “Empty enabled” by default but I can turn it off.)

In certain UX scenarios we don’t want the empty option. In these scenarios we have a default already and empty shouldn’t be a user selection.  Either the default/existing value or ‘first option as selected’ is the desired interaction.

Work arounds exist in the forums for this but a feature toggle in the widget would be great!

3 answers



  • Avoid usage of enumeration in this case
  • Create ExtraEntity with 1-* relation to MainEntity
  • Add StringAttribute to ExtraEntity
  • Create maintanance pages for ExtraEntity
  • Add enumerations values as string to ExtraEntity
  • In the Overview of MainEntity, add ExtraEntity.StringAttribute as filter and column



For a workaround this thread may help: https://forum.mendix.com/link/questions/85644

The CSS approach to hide the empty option given in the answers should be applicable. 


Hi Tim, I second this. I too am in need of such option. Btw, can you point me to the work-around, that I can employ in this case?