3
LeMeow
8y

!rant

How do I set a default value for a dropdown if no option is selected?

I tried
<option value="">Select one option</option>
or value="0"

It gives me a NullPointerException

Comments
Add Comment