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
Using the Combobox children render function, if you return a different instance of Combobox.Input depending on the open render prop, it will not used the new displayValue prop the but first one.
Using the example above, when you open the combobox, in the input you should see the value + "open" and not value + "closed"
The text was updated successfully, but these errors were encountered:
Focus the input, press ⬇️, select an option.
When the dropdown is closed, the title of the option should be suffixed with "closed", this part works, but when the dropdown is open the suffix should be "open". This part is not functioning.
What package within Headless UI are you using?
@headlessui/react
What version of that package are you using?
For example: v1.6.1
What browser are you using?
Chrome
Reproduction URL
https://stackblitz.com/edit/react-qwym4h?file=src/App.js
Describe your issue
Using the
Combobox
children render function, if you return a different instance ofCombobox.Input
depending on theopen
render prop, it will not used the newdisplayValue
prop the but first one.Using the example above, when you open the combobox, in the input you should see the
value + "open"
and notvalue + "closed"
The text was updated successfully, but these errors were encountered: