vue add style on element where attribute is disabled code example Example: disabled input fields vue <input type="text" :disabled="validated == 1">