I wonder if it is possible to show “Choose one” by default as the selected parameter, but hide it from the list of options when the user clicks to open the selection menu? I mean something like a placeholder for a text input field. Is there a way to do this with js or something else? thanks in advance
UPDATE
Let's say we have a selection menu
<select> <option value"">Select one...</option> <option value"1">Option 1 </option> ... </select>
What I will do is remove the <option value"">Select one...</option> from the list of options when the user opens the menu and will return to the default state when the user closes the menu.
source share