Selaa lähdekoodia

Select: fix a form validation bug

Leopoldthecoder 8 vuotta sitten
vanhempi
commit
434bc360f0
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      packages/select/src/select.vue

+ 1 - 0
packages/select/src/select.vue

@@ -235,6 +235,7 @@
 
           this.$emit('input', result);
           this.$emit('change', result);
+          this.dispatch('form-item', 'el.form.change', val);
           if (this.filterable) {
             this.query = '';
             this.hoverIndex = -1;