Browse Source

Select: fix a form validation bug

Leopoldthecoder 8 năm trước cách đây
mục cha
commit
434bc360f0
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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;