Vuetify child component form validation example #11934
Replies: 4 comments 3 replies
-
No answer for this? |
Beta Was this translation helpful? Give feedback.
-
I am facing the same situation. I have a parent component with v-form and v-btn, and multiple custom child components contain several v-select and v-text-field to be validated (only one layer). The built-in validation for v-form is not worked with a parent and child relation. Could someone provide a solution? Thanks a lot! |
Beta Was this translation helpful? Give feedback.
-
I am in the same situation, since there is not response or an explicit answer about this, it looks like it should be quite obvious for everyone else but me. I think I have to keep searching, I'll post here whatever I find. |
Beta Was this translation helpful? Give feedback.
-
Hello, I tried to provide an example in VueJS v3.5 and Vuetify v3.7 : Playground, in which a
I hope it could help :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I was wondering if someone could provide a working example of using Vuetify form validation where the parent component contains the v-form with a submit button and it also contains a custom component which, for example, wraps a v-textarea which is required.
Similar to the "Validation with submit & clear" example here:
https://vuetifyjs.com/en/components/forms/
but using a custom child component.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions