i cant find the best way to validate dependent fields within the popup dialog from Kendo.
Here are my grid options:
This is my Popup Template:
What i woud like to to is. If the OrderStateId is set to 9, the ErrorReason field is required. If the OrderStateId is set the anything else, your good to go without ErrorReason. My Problem ist that my error-Alert in the Popup is never going to be displayed. I don't know why, but could it be possible that inside the popup its a different scope?
What is the best way with Kendo and Angular to Validate such things?