I have a dropdown in my screen. I did not give "Choose something" as a first value. Instead gave my 3 actual values. I've written change event on select and I'm able to pass the selected value if only I manually select a value, even the first one.
Is there any way where the first value is passed by default. I can think of two options:
1. Use a IF condition and if the value is null, use the first value else use the selected value
2. Add "Choose a value" as the first entry and if value = null, then return an error
What's the general strategy to handle value setting in drop down?