Skip to content

Commit e46aa38

Browse files
committed
Update validation on disabled/readonly prop change
1 parent ab5de30 commit e46aa38

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/components/mixins/validation.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ export default {
3838
label() {
3939
this.updateValidation()
4040
},
41+
readonly() {
42+
this.updateValidation();
43+
},
44+
disabled() {
45+
this.updateValidation();
46+
},
4147
validationData: {
4248
handler: function() {
4349
this.updateValidation()

0 commit comments

Comments
 (0)