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>
              </select>
            </div>

Can you give us some more details on how to trigger this?

Sure,
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.

Rafael

This a picture for the dropdown:
Capture

It looks like it is doing an autocomplete.

Try adding:

autocomplete="off"

To the select element.

Thanks Lasjorg, it worked :wave: