When first selecting an option from the select tag, the value is correctly caught, transferred to the parent via trigger then fed again to the component via the props but for some reason, at rendering, the value of the <select> tag stays unchanged and we have to do the same operation again to see a change. The part quite weird is that when inspecting the element after the first selection of value "tabouret", we find
We have found a peculiar behaviour that only occurs on firefox (AFAIK) with select fields, You can find a dummy example for the sandbox below.
CODE:
When first selecting an option from the select tag, the value is correctly caught, transferred to the parent via trigger then fed again to the component via the props but for some reason, at rendering, the value of the
<select>
tag stays unchanged and we have to do the same operation again to see a change. The part quite weird is that when inspecting the element after the first selection of value "tabouret", we findbut
The option is correctly selected even if we can't see it.
If we reiterate the operation we now have
Now try to select "jambon":
and
This was tested on Firefox 95.0.2. I haven't been able to find an issue when opening static html page with the same content.
Is this something you've already encountered ?