pull/310/head 1.3.2
cagataycivici 2020-04-24 09:47:57 +03:00
commit 89a3b38176
1 changed files with 12 additions and 11 deletions

View File

@ -243,11 +243,11 @@ export default {
if (this.$el) { if (this.$el) {
if (this.value == null) { if (this.value == null) {
this.$el.value = ''; this.$el.value = '';
this.$emit('input', '');
} }
else { else {
this.$el.value = this.value; this.$el.value = this.value;
this.checkVal(); this.checkVal();
}
setTimeout(() => { setTimeout(() => {
if (this.$el) { if (this.$el) {
@ -258,6 +258,7 @@ export default {
this.$emit('input', (this.defaultBuffer !== val) ? val : ''); this.$emit('input', (this.defaultBuffer !== val) ? val : '');
} }
}, 10); }, 10);
}
this.focusText = this.$el.value; this.focusText = this.$el.value;
} }