2 -> 3 upgrade form problem #19282
Unanswered
charlesg99
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently upgrading an app from 2 to 3 😭 I have forms that uses vuetify inputs, but those inputs are encapsulated in a custom component. This custom component has some custom props (like "dirty", etc.) which I'm v-binding to the encapsulated vuetify input.
In vuetify 2, I could have something like this:
Then I could get the form in my code to check the custom props with something like this:
this.$refs['my-form'].inputs.filter(i => console.log(i.$attrs.dirty))
Now in vuetify 3, I see that v-form no longer has an "inputs" property but now has an "items" one. "Items" only contains objects of predefined properties that represent the form's input and I have no access to the input itself, so no access to my custom properties.
Any ideas on how to access my custom properties like in vuetify 2?
Beta Was this translation helpful? Give feedback.
All reactions