Created
September 1, 2016 12:25
-
-
Save spyesx/48d555d27fcbd508cd0074cbcce60877 to your computer and use it in GitHub Desktop.
Select empty at the beginning without user to be able to select an empty value after the first change. Good for custom placeholder/label.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<select name=""> | |
<option selected disabled hidden style="display: none;" value=""></option> | |
<option value="option-1">Option 1</option> | |
<option value="option-2">Option 2</option> | |
</select> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment