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
Per the standard, the default value is "on" for radio and checkbox inputs, not empty string:
Minimal example:
<inputtype="radio" value="">
gets converted to:
<inputtype=radio>
which is effectively:
<inputtype=radiovalue=on>
This should be handled accordingly, based upon the following table:
type
default value
checkbox
on
radio
on
file
C:\fakepath\
For all other types, the default is in fact an empty string. If type is not equal to one of the known types, it should be assumed dynamic and the value thus cannot be removed.
The text was updated successfully, but these errors were encountered:
Per the standard, the default value is "on" for radio and checkbox inputs, not empty string:
Minimal example:
gets converted to:
which is effectively:
This should be handled accordingly, based upon the following table:
type
value
checkbox
radio
file
For all other types, the default is in fact an empty string. If
type
is not equal to one of the known types, it should be assumed dynamic and thevalue
thus cannot be removed.The text was updated successfully, but these errors were encountered: