Replies: 1 comment 2 replies
-
Check this #1722 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a component based on TextEdit, I would like to use validation on this component. It uses Validations with a Model, however when doing the ValidateAll it won't work. Looks something like this:
------------------- MyTextEdit -----------
------------ Course.cs ----------
Is there a way to pass the Model to the component so that it knows what to use for the Validation ? If I use a ValidatorRule then it works just fine. When I pass the entire class as parameter and use course.Name in the component it also works but this would required a component for each field. I'm hoping i can somehow pass the class.property.
Beta Was this translation helpful? Give feedback.
All reactions