Closed
Description
Repro steps:
- Create a Blazor Web App
- In Home.razor add:
<form data-enhance>
<input type="radio" />
<button>Submit</button>
</form>
- Select the radio button and then submit the form
Expected result: The radio button is not selected after the form is submitted.
Actual result: The radio button is still selected.
Workaround: Remove data-enhance
to make the form request no longer enhanced.
For comparison, if you change the input type to checkbox and do the same test, the checkbox does get unselected after submitting the form even with enhanced form handling enabled.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done