In our project we may have several errors even for a single input and we want to be able to show them all and separated. How would you do that? FieldState only has a single error property.
I know that I can make a validator that concatenates them in a single error with some separator and then split on it when visualizing, but that is not cool. Any ideas that would not require a lot of refactoring?
In our project we may have several errors even for a single input and we want to be able to show them all and separated. How would you do that? FieldState only has a single error property.
I know that I can make a validator that concatenates them in a single error with some separator and then split on it when visualizing, but that is not cool. Any ideas that would not require a lot of refactoring?