You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have this form with various inputs.
When I save the form its validated.
I have a switch on the form that turns on/off some inputs.
When the switch is off I disable some inputs.
If I press save I get validation messages under the inputs and change the status of the switch so the inputs are disabled, the inputs still have the validation messages on them and ValidationStatus == Error.
So the question is: Is it possible to reference the validations and reset them through code?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi
I have this form with various inputs.
When I save the form its validated.
I have a switch on the form that turns on/off some inputs.
When the switch is off I disable some inputs.
If I press save I get validation messages under the inputs and change the status of the switch so the inputs are disabled, the inputs still have the validation messages on them and ValidationStatus == Error.
So the question is: Is it possible to reference the validations and reset them through code?
Beta Was this translation helpful? Give feedback.
All reactions