Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Call on input cleared when all characters are removed #641

Closed

Conversation

lennertVanSever
Copy link

What does it do?

Calls a new prop function 'onInputCleared" when all the characters are removed from the input box. Allows users to perform an action when the search box is cleared in an easy way.

Fixes # (issue)

Closes #637

Type of change

New feature (non-breaking change which adds functionality)

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas => not applicable
  • Updated documentation (if applicable)
  • Added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • My changes generate no new warnings

@lennertVanSever lennertVanSever changed the title Call on input cleared when all characters are removed feat: Call on input cleared when all characters are removed Jul 19, 2023
@github-actions
Copy link

github-actions bot commented Sep 2, 2023

This pull request 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.

@github-actions github-actions bot added the stale label Sep 2, 2023
@github-actions github-actions bot closed this Sep 12, 2023
@lennertVanSever
Copy link
Author

@mrchief can this pull request be brought back to life?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The searchTerm in the searchPredicate function is never an empty string
1 participant