Eliminating the blank option in drop-down input

Hi All, I have seen similar posts in the past but have not seen a clean and simple solution.  How can I easily remove the blank option from the drop-down input widget?  By simple I prefer not having to use Microflow, as the drop-down input is using enum as the selection choices.  I have seen solutions involving modifying CSS.  Is there a way I can use CSS to remove the blank option without defining a new class, and just by inputting the style directly in the properties of the specific widget? Thanks,
1 answers

Hi Tony,

I think you already found this post: https://forum.mendix.com/link/questions/85644 as you mentioned that there are CSS classes that will do what you are looking for. Among the answers there, you’ll also find a JS solution.


PS: I see that you are using Mendix Version 8.4.2 – Have you heard about Calypso? No need for gulp, Koala or installers.  If you have not tried it yet, give it a shot. It’s pretty nice and easy to work with actually :)  https://docs.mendix.com/howto/front-end/calypso