You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
After searching, must manually clear search field, via e.g. highlight+delete or backspacing.
Describe the solution you'd like
Proposal for an 'x' to appear at right of search field to enable single-click clearing of search contents.
Describe alternatives you've considered
Haven't found a solution here or the usual forums.
Additional context
Any pointers or code to accomplish this feature in the interim using lib's existing capabilities and/or an HOC would be great.
I'm using inlineSearchInput, btw.
P.s. Great lib, thank you for publishing it.
The text was updated successfully, but these errors were encountered:
@bmm-brobbins I think it's a fair use case but implementing it is bit more than trivial. Apart from the likely UX confusion that extra x may create on smaller viewports, we also need to figure out accessibility aspect of it - that includes keyboard nav, tab focus order etc.
There is something you can do though to mimic the functionality:
create your own wrapper control that puts the x in the input box (use CSS to position it)
on click of this button, you programmatically reset the data (in effect wiping out all selections)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.
Is your feature request related to a problem? Please describe.
After searching, must manually clear search field, via e.g. highlight+delete or backspacing.
Describe the solution you'd like
Proposal for an 'x' to appear at right of search field to enable single-click clearing of search contents.
Describe alternatives you've considered
Haven't found a solution here or the usual forums.
Additional context
Any pointers or code to accomplish this feature in the interim using lib's existing capabilities and/or an HOC would be great.
I'm using inlineSearchInput, btw.
P.s. Great lib, thank you for publishing it.
The text was updated successfully, but these errors were encountered: