mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-05-18 04:01:07 +00:00
Watch for input value and set parent class
This commit is contained in:
parent
e96c21d45a
commit
90efa2196e
1 changed files with 3 additions and 0 deletions
|
|
@ -7,6 +7,9 @@ export default {
|
|||
placeholder: [String, Number]
|
||||
},
|
||||
watch: {
|
||||
value() {
|
||||
this.setParentValue();
|
||||
},
|
||||
disabled() {
|
||||
this.setParentDisabled();
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue