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

Add ability to remove input text in Select and Relation fields #2797

Closed
wants to merge 0 commits into from

Conversation

grigoriy-ivanov
Copy link
Contributor

@grigoriy-ivanov grigoriy-ivanov commented Jan 28, 2024

Description:

This pull request adds a new feature to improve the user experience when searching within lists, particularly in the context of multiple selects. When a user selects an item from the search results, a portion of the search phrase remains, which may need to be removed to search for the next item.

image

This feature introduces an option to clear the search phrase automatically after an item is selected. This enhancement streamlines the process of selecting multiple items from a list by reducing the manual effort required to clear the search phrase between selections.

Link to related issue: orchidjs/tom-select#543

@grigoriy-ivanov
Copy link
Contributor Author

@tabuna Hi!

@tabuna
Copy link
Member

tabuna commented Mar 20, 2024

Hi @grigoriy-ivanov

Thank you for bringing this to attention. I believe we should take the opposite approach and implement a method that cancels field clearing instead of enabling it. In my opinion and experience, enabling clearing will likely be required more frequently.

Would it be feasible to make this behavior the default without an option? What are your thoughts on this? Could you update the pull request accordingly?

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

Successfully merging this pull request may close these issues.

None yet

2 participants