@haquanq
Posted
Hello @AurelienWebnation,
Nice work on the solution!
I think it is unnecessary to show input error (empty error) when the request will eventually be sent. Maybe considers adding an empty component with descriptive text to encourage users to use the search when the input is empty is more appropriate.
Have a nice day and happy coding!!!
@AurelienWebnation
Posted
@haquanq Hey, thanks for your reply!
The figma model want to show an error when the input is empty, this is why we need to show that error to the user.
@haquanq
Posted
hey @AurelienWebnation, the Figma model did not tell you to build a search component with "debouce" feature!! So maybe it is unnecessary to do so!
@AurelienWebnation
Posted
@haquanq That's right! I think the best option like you said is to create and display a specific component when search input is empty.