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
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
I have an app where the user logs in, and sometimes a specific user must enter an email, sometimes he doesnt have to.
I want to disable the validation behavior based on a bool.
I tried using IsRunning={Binding bool}
And even hardcoding false but that didnt seem to do it.
The validations work fine and let the user continue without entering an email if he doesnt have to (if I dont forcevalidate based on the bool)
But im getting this annoying graphical thing where if the user doesnt have to enter an email, but he clicks the entry and decides to click off, it activates the invalid-style for that entry, which shouldnt happen.
I want the validation to turn off based on a bool binding.
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
-
I have an app where the user logs in, and sometimes a specific user must enter an email, sometimes he doesnt have to.
I want to disable the validation behavior based on a bool.
I tried using IsRunning={Binding bool}
And even hardcoding false but that didnt seem to do it.
The validations work fine and let the user continue without entering an email if he doesnt have to (if I dont forcevalidate based on the bool)
But im getting this annoying graphical thing where if the user doesnt have to enter an email, but he clicks the entry and decides to click off, it activates the invalid-style for that entry, which shouldnt happen.
I want the validation to turn off based on a bool binding.
Beta Was this translation helpful? Give feedback.
All reactions