Replies: 1 comment 2 replies
-
Errors are not nested, only the values are. The errors object is flat So if you want to display errors for that input you will need to access it this way:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i am trying to validate a nested object, however i have a problem with displaying an error
I made an example according to the documentation docs
but when i try add
:has-error="Boolean(formErrors.links?.twitter)"
i have error
Property 'twitter' does not exist on type 'string'
that my full component
Beta Was this translation helpful? Give feedback.
All reactions