Watch for input value and set parent class

This commit is contained in:
Marcos Moura 2016-11-14 03:39:16 -02:00
parent e96c21d45a
commit 90efa2196e

View file

@ -7,6 +7,9 @@ export default {
placeholder: [String, Number]
},
watch: {
value() {
this.setParentValue();
},
disabled() {
this.setParentDisabled();
},