Firefox does not reset select box

This select box resets to: Select an option on Chrome and Edge but not on Firefox,
Does anyone know why?

Here is the code:

<div class="answer">
              <select required name="answer-one" id="answer-one">
                <option value="">Select an option</option>
                <option value="yes">Yes</option>
                <option value="no">No</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.

Try adding:


To the select element.

Thanks Lasjorg, it worked :wave:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.