-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Feature/disable backspace reset #1481
Feature/disable backspace reset #1481
Conversation
I'm not sure how the other maintainers feel about adding this feature, but before it can be merged the PR will need to be squashed and rebased. I will let @aaronroberson and @user378230 weigh in on if they think this is a feature they would want to merge. |
@@ -1,3 +1,13 @@ | |||
<a name="0.14.10"></a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this will get created automatically at build time once we fix everything up.
Please remove these changes from the file.
Also please remove the /dist files from the PR. |
I just rebased the PR. Is it OK for you? |
Does this have any unit tests?
Apologies, I hadn't read your commit message. |
|
I removed this fork by mistake. |
Add a new option that prevent the backspace key reset the model (set to undefined).
Th option could be added to the directive
ui-select
:I hope I correctly commit and implement this feature! 😃
feat(uiSelectSingleDirective): add an option to avoid backspace model reset
Currently, when you select an option and you press the backspace key, it will reset the model.
With this option, we could disable this behavior to avoid the model resetting.
Closes #926 #525