Replies: 2 comments
-
|
This is a tricky one; unfortunately, we can't change it at the moment. I will take note of this for the next major update. Feel free to override the |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Ok great, that works, thanks! I'm actually using Chakra, so just in case anyone comes across this looking for a workaround, this is the code I used: where |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
🐛 Bug report
Combobox clear trigger's are not rendered (
getClearTriggerProps().hiddenis always true).💥 Steps to reproduce
hiddenprop returns fromgetClearTriggerProps()is true.💻 Link to reproduction
Reproduction: https://stackblitz.com/edit/rn9pu28k
🧐 Expected behavior
When the combobox's input has a value, the clear trigger should render.
This happens whether
inputValueis controller or not. It doesn't seem to matter whetherinputValuehas an initial value. And callingapi.setInputValue()directly makes no difference.🧭 Possible Solution
The current logic is:
but I believe this should be checking
"inputValue", not"value", i.e.:🌍 System information
📝 Additional information
Beta Was this translation helpful? Give feedback.
All reactions