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
My model has a bool bound to a checkbox. It's not required, so I should be able to submit the form without checking it. But validation fails for the checkbox and I can't submit.
The demo in question was added in #51 with a proposed fix for #48, but it was changed to include remote validation as of #83. I'm pretty sure "Unchecking it should not fail validation." is no longer true.
If you remove the [Remote] does it work as expected?
If so, could you split that demo into two (client-only and remote)?
My model has a
bool
bound to a checkbox. It's not required, so I should be able to submit the form without checking it. But validation fails for the checkbox and I can't submit.I tried the demo, and it also fails.
The demo has this:
When trying to submit the form on the
http://localhost:5000/Demos/Checkboxes
page:One can easily verify this repro, just run the demo, go to that page and click submit.
I think it's a bug.
The text was updated successfully, but these errors were encountered: