Ver Fonte

fix test

Caleb Porzio há 1 ano atrás
pai
commit
374f9ee6dc
1 ficheiros alterados com 1 adições e 1 exclusões
  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...