Caleb Porzio 1 anno fa
parent
commit
374f9ee6dc
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      packages/ui/src/listbox.js

+ 1 - 1
packages/ui/src/listbox.js

@@ -113,7 +113,7 @@ function handleRoot(el, Alpine) {
                         Alpine.effect(() => {
                             // Everytime the value changes, we need to re-render the hidden inputs,
                             // if a user passed the "name" prop...
-                            this.__inputName && renderHiddenInputs(this.$el, this.__inputName, this.__value)
+                            this.__inputName && renderHiddenInputs(Alpine, this.$el, this.__inputName, this.__value)
                         })
 
                         // Keep the currently selected value in sync with the input value...