Jason Beggs 2 年之前
父节点
当前提交
90606a4a58
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      packages/ui/src/combobox.js

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

@@ -219,6 +219,8 @@ function handleRoot(el, Alpine) {
                     if (! this.__isMultiple) {
                     if (! this.__isMultiple) {
                         this.__value = value
                         this.__value = value
 
 
+                        console.log('toggleSelected', this.__value)
+
                         return
                         return
                     }
                     }
 
 
@@ -250,7 +252,7 @@ function handleRoot(el, Alpine) {
             }
             }
         },
         },
 
 
-        // Register event liseners..
+        // Register event listeners..
         '@mousedown.window'(e) {
         '@mousedown.window'(e) {
             if (
             if (
                 !! ! this.$refs.__input.contains(e.target)
                 !! ! this.$refs.__input.contains(e.target)