Jason Beggs 2 лет назад
Родитель
Сommit
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()
                     let value = this.$data.__getCurrentValue()
 
 
                     input.value = value
                     input.value = value
+                    input.dispatchEvent(new Event('input'))
                 },
                 },
                 __getCurrentValue() {
                 __getCurrentValue() {
                     if (! this.$refs.__input) return ''
                     if (! this.$refs.__input) return ''