Jason Beggs 2 年之前
父節點
當前提交
5668bf1839
共有 1 個文件被更改,包括 1 次插入0 次删除
  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 ''