This select box resets to: Select an option on Chrome and Edge but not on Firefox,
Does anyone know why?
Here is the code:
<select required name="answer-one" id="answer-one">
<option value="">Select an option</option>
Can you give us some more details on how to trigger this?
The index.html file includes a dropdown select box with three (3) options (see code above). When I open the file with Firefox and select an option .i.e. Yes, and I refresh the page, the dropdown does not reset to “Select an option”.
When I use Chrome the dropdown resets to “Select an option” when I refresh the page.
Please let me know if you have any other questions.
This a picture for the dropdown:
It looks like it is doing an autocomplete.
Thanks Lasjorg, it worked