Replies: 2 comments
-
do you find a solution ? kinda need this rn |
Beta Was this translation helpful? Give feedback.
0 replies
-
Take a look at the examples, if you're using the common library. Hope it helps :) For Ant Design, which I use, easiest would be by using: defineField
with antConfig -> you can style, I think. Haven't done custom styling, though 😄 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I started using vee-validate along with yup for my form validation needs. I'm not quite sure how to provide conditional error styling to my input fields with my particular configuration.
I have the following configuration:
and using yup's schema:
So the
ErrorMessage
tag shows up fine. I'm not quite sure where to find the error information contained by yup so that I could add styling to theField
as well.Would I need to call
schema.validateAt()
? It seems like this would be redundant to the existing Blur checking that theErrorMessage
tag does.PS is there a version of auto-css to import for Vue 3?
Beta Was this translation helpful? Give feedback.
All reactions