Closed 274188A closed 3 years ago
If the validation tags are removed the exceptions do not occur
I experienced the same problem. The issue was using the event approach(Value/TextChanged) instead of the binding approach(@bind-Value). However, I couldn't find a similar usage in your code.
@stsrki might have suggestions.
I first thought the problem was missing @bind-Text
, but you have it defined on all components. After more investigation, I think the problem is that you don't have or use any validator.
<Validations Mode="ValidationMode.Auto" ValidateOnLoad="false">
is empty. In case you want to use data-annotation than you must define Model
parameter.
All your <Validation>
also don't have any validator. In case you don't use data-annotation than you must define validator, eg. <Validation Validator="@ValidationRule.IsNotEmpty">
.
I am using Balzorise Validation
Any page where i use validation tags is now throwing the following Blazorise error:
Example
Blazor project xml