You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My problem is that when I use listbox in tabs, when I switch tabs, the selected value of listbox will switch back to the default value, which is index = 0, and I hope he can remember the last selected content, And when I try to use @updatede, :modelValue, :defaultValue, it doesn't work and not find listboxButton slot value name.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What package within Headless UI are you using?
@headlessui/vue
What version of that package are you using?
v1.6.4
What browser are you using?
Chrome
Describe your issue
My problem is that when I use listbox in tabs, when I switch tabs, the selected value of listbox will switch back to the default value, which is index = 0, and I hope he can remember the last selected content, And when I try to use
@updatede
,:modelValue
,:defaultValue
, it doesn't work and not find listboxButtonslot value name
.thanks.
Beta Was this translation helpful? Give feedback.
All reactions