What problem does this feature solve?
When conducting a search, I need to distinguish whether the user clicked the "clear" button or deleted a keyword.
If the user clicks the "clear" button, I need to clear the search results; if only a keyword was deleted, then nothing needs to be done.
What does the proposed API look like?
clear when the Input is cleared by clicking the clear button function(e)