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
Hello, you mean custom IValidationMessageStore interface?
I am not 100% sure.
Right now, if you implement an EditForm over a type that uses DataAnnotations attributes and use the standard data annotations validator in the EditForm, you can see how the form works at runtime.
If you implement an EditForm over a type that uses CSLA business rules that do the same thing (like the Required rule), and use the CSLA validator in the EditForm, you can see how that form works at runtime.
The two don't work quite the same in terms of when the broken rule results appear to the user.
My guess is that something is missing in the CslaValidator implementation to get the same behavior - and my thought is that the behavior should be the same (or as close as possible).
In a Blazor
EditForm
you can use theCslaValidator
andCslaValidationMessages
components like this:This should cause validation messages to appear when the user tabs out of the
InputText
control with a broken rule,It doesn't work properly right now, because
CslaValidator
doesn't implement theIValidationMessageStore
interface (at least according to Copilot).The text was updated successfully, but these errors were encountered: