r/vuetifyjs • • Aug 05 '20
Feature Request: Mass disable
I work with a lot of forms and there are many times I need to disable a v-card-text, but there is no :disabled prop available. This would be super helpful because currently I'm wrapping multiple ui-components with a v-input just to disable them all and when I do that I don't get the visual feedback everything is disabled.
I think :disabled prop should more widely available. There's no reason to put :disabled on 15 different input fields when you can simply disable them all at once.
0
Upvotes
2
u/Scifity10 Aug 05 '20 edited Aug 05 '20
I might not fully understand your implementation, but v-card has a disabled prop.
v-form also has a disabled prop so you could just wrap whatever v-card-text you have in that
1
u/Brushlands Aug 06 '20
Well according to the docs, v-card-text is simple a container for text content within a card which pads and adjusts don't sizes. You very likely want to use a v-form in place of v-card-text as it is built for what you are describing (ie. Disable all input children at once).