Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(quantic): Clear icon not being displayed after selecting a sugges…
…tion in quantic searchbox (#4481) [SFINT-5711](https://coveord.atlassian.net/browse/SFINT-5711) ### ISSUE: **Description:** The clear input button is not being displayed on first render when the query is not empty after selecting a suggestion/recent query on first render https://github.com/user-attachments/assets/633ddd45-f993-454c-b571-42c8b8e55b34 ### SOLUTION PROPOSED: Modified the `isQueryEmpty` getter to add the `&& !this.inputValue;` to the check. This makes the `isQueryEmpty` getter evaluate properly and therefore display the clear icon. ### DEMO: https://github.com/user-attachments/assets/a7b878c4-aaca-47ee-b3b7-3cebb07277ee [SFINT-5711]: https://coveord.atlassian.net/browse/SFINT-5711?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
- Loading branch information