vue disabled if condition code example Example: vue disabled <input type="text" :disabled="validated == 1">