[Vuejs]-Vue input required if others are non-empty

0👍

The styling is done through vuetify rules, and not the required directive. For each v-text-field, you can use the same rule if you want. Example code pen.

required directive documentation.

👤Phil

0👍

This is because the method reqIn is called once at the start if you want the value to be dynamic changed whenever a certain variable(s) is updated you can use computed properties : https://v2.vuejs.org/v2/guide/computed.html#Basic-Example

Leave a comment