✅ Validate input in list in blazor forms
I have blazor EditForm with some inputs, the user can enter multiple people into the form, i handle that by having a button that adds some new fields in which the user can fill out new person. The
this is the relevant part of my code:
bind-value for those inputs is the certain index list of people i have inside the main class for model (for example modelClass.People[5]). Now i want to add input validation for example for email, but it doesn't get validated for the inputs that write inside the list. Anyone any idea how to make it work?this is the relevant part of my code:
