Handling displayValue in Combobox.Input from headless UI
Unanswered
Jacquit posted this in #help-forum
JacquitOP
Hi there,
In this code, I have implemented a feature that allows the user to input any value in the input field which then displays a list of suggested items. The user can select any item from the list and it will be displayed in the Combobox.Input's displayValue. However, I am facing an issue where I am unable to remove the selected value from the displayValue after the user clicks on the X button. Can someone please help me with this?
In this code, I have implemented a feature that allows the user to input any value in the input field which then displays a list of suggested items. The user can select any item from the list and it will be displayed in the Combobox.Input's displayValue. However, I am facing an issue where I am unable to remove the selected value from the displayValue after the user clicks on the X button. Can someone please help me with this?
1 Reply
you arent doing anything with your remove button