I'm developing an app that has different license types, and according to the license we need to disable/enable inputs.
One way is to put a conditional :disabled
for each input but that's a lot of work and error prone, since we might forget to put it on some inputs.
I thought of using a directive like v-disable-all
that searches for all inputs under the container and adds disabled to them.
I was wandering if there is a better solution or if there is already a solution like this?