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
You can define validation rules for your fields using the Field component, your rules can be as simple as a function that accepts the current value and returns an error message.
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
-
What I want to do ist the following:
Using the Object Expression api: https://vee-validate.logaretm.com/v4/guide/global-validators#object-expressions
I have a field "url" which should have two validation rules combined
What I tried / would love to do:
I am not sure if this is not possible or if I just dont get it to work?
There was already a maybe related discussion but it did not help me in this case:
#4362
Docs also tell, that using just a function is a good idea:
https://vee-validate.logaretm.com/v4/guide/components/validation/
Beta Was this translation helpful? Give feedback.
All reactions