DOM sync removes checkbox custom values in some cases #50995
Labels
area-blazor
Includes: Blazor, Razor Components
bug
This issue describes a behavior which is not expected - a bug.
Milestone
Repro:
<input type="checkbox" value="myvalue" checked>
If you do an enhanced nav and the resulting content also contains that exact same markup, the
value
attribute will get overwritten with the stringtrue
. Then when you submit the form you'll get wrong results.I tracked this down to a trivial logic error in the DOM sync code - fix submitted in #50991
The text was updated successfully, but these errors were encountered: