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

[Feature] Add flag to not clear model on backspace #861

Closed
Deafsilver opened this issue Oct 10, 2018 · 0 comments
Closed

[Feature] Add flag to not clear model on backspace #861

Deafsilver opened this issue Oct 10, 2018 · 0 comments

Comments

@Deafsilver
Copy link

Is your feature request related to a problem? Please describe.
I have a need to be able to clear the value by clicking the "x". However, when clearable == true and a value is already selected, if the user were to search for a new value and not find it, holding down backspace will erase all characters in the ng-select and clear the value. Having a method to only clear by clicking the "x" would be helpful.

Describe the solution you'd like
Add a flag that if present would prevent the handling of backspace.

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

No branches or pull requests

1 participant