Answer the question
In order to leave comments, you need to log in
Why is firefox ignoring option selected on certain select name values?
Wrote the following:
<form action="#" method="post" enctype="multipart/form-data">
<label class="visually-hidden">Лейбл
<select autocomplete="on" id="wellPosition" name="wellPosition" size="1" required>
<option value="" disabled selected>Вместо плейсхолдера</option>
<option value="first">Вариант 1</option>
<option value="second">Вариант 2</option>
<option value="Новая Москва">Вариант 3</option>
</select>
</label>
</form>
<select autocomplete="on" id="wellPosition" name="Position" size="1" required>...
Answer the question
In order to leave comments, you need to log in
because the standard does not define what to do if a fool decides to use them - disabled and selected are mutually exclusive attributes
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question