Possible issue with form binding? #2689
Replies: 2 comments
-
Perhaps it's related to this note in the docs (also note the typos in the text), I'm using simple generic names like "confirmed-email" for Name instead of "Model.PasswordConfirmation.ConfirmedPassword", not sure if that matters:
|
Beta Was this translation helpful? Give feedback.
-
False alarm, I had a bug where we remembered their last validation result so if validation previously failed then it would fail again for the same reason. |
Beta Was this translation helpful? Give feedback.
-
Although I'm unable to recreate the problem myself one of my users seem to be having recurring issues with our New User signup form (which uses Blazor Server, net9.0 rc 1, self-contained deployment) saying they haven't filled it out properly (in particular email confirmation and password confirmation) when they insist they have. Two users at the same org report the same problem, so I suspect a particular browser or extension.
The code in question literally validates by checking the model values match, so it's not fluentvalidation etc.
Has anyone seen any issue with forms not reliably binding to models? I've tested in multiple browsers but have yet to recreate the problem, it could be as simple as interacting with the form in a particular order or using/not using tab etc.
Beta Was this translation helpful? Give feedback.
All reactions