Jason Beggs 2 năm trước cách đây
mục cha
commit
5668bf1839
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      packages/ui/src/combobox.js

+ 1 - 0
packages/ui/src/combobox.js

@@ -135,6 +135,7 @@ function handleRoot(el, Alpine) {
                     let value = this.$data.__getCurrentValue()
 
                     input.value = value
+                    input.dispatchEvent(new Event('input'))
                 },
                 __getCurrentValue() {
                     if (! this.$refs.__input) return ''