You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These do not produce the correct html on first render.
They should add value="" to the select options element but they don't initially do it.
prop.Value("") vecty.Property("value", "")
I am using this as a workaround. vecty.Attribute("value", "")
The problem this causes is that when the select item is used in a form and is specified as required, the form validation does not work unless the first option has value=""
These do not produce the correct html on first render.
They should add
value=""
to the select options element but they don't initially do it.prop.Value("")
vecty.Property("value", "")
I am using this as a workaround.
vecty.Attribute("value", "")
The problem this causes is that when the select item is used in a form and is specified as required, the form validation does not work unless the first option has
value=""
You can see the impact here in the "try it yourself" page
https://www.w3schools.com/tags/att_select_required.asp
This is what should be produced
This is what is initially produced
This is an example of the code I am using to produce the html
The text was updated successfully, but these errors were encountered: