How to set validation message from the backend in form? #5077
Unanswered
fahmiegerton
asked this question in
Q&A
Replies: 1 comment
-
Can't imagine antd vue is so weak to provide such a basic feature. write an Login form need this feature apparently. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I need to set error message retrieved from the backend (laravel) and set it on every field if there is an error. The structure may look like this:
In vuetify, I just set in the prop error-messages in one of the form input component (
error-messages=data.errors.email
then it picked up automatically the first one). The question is, how to do like this in ant-design-vue 3 ? Couldn't find any. I tried this but I don't want to usecreateForm
since I already useform
from inertia. Also tried this too but I barely to understand that. Now I'm stuck, I'm hoping someone could help me, thanks.Beta Was this translation helpful? Give feedback.
All reactions