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

Typeahead allows me to clear the field when clearable is false #82

Closed
carlhussey opened this issue Oct 18, 2017 · 0 comments
Closed

Typeahead allows me to clear the field when clearable is false #82

carlhussey opened this issue Oct 18, 2017 · 0 comments
Assignees
Labels

Comments

@carlhussey
Copy link

Please fill below information if issuing a bug report.

Expected behaviour

When I have clearable=false, I should not be able to clear out the value that is in the field. If I decide to begin searching and then remove the data by backspacing, I would expect the original value to still show up.

Actual behaviour

When I begin typing a result and then backspace and remove my search term, it lets me clear the field entirely and doesn't set the original value back.

Example: https://giphy.com/gifs/l0IsIbLEnkrpxBv8c/fullscreen

More Info

ng-select version: 0.2.5

browser: chrome

reproducable in demo page: yes if clearable=false

@anjmao anjmao added the bug label Oct 19, 2017
@anjmao anjmao added this to the Version 1.0.0 milestone Oct 23, 2017
@varnastadeus varnastadeus self-assigned this Oct 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants