This repository was archived by the owner on Oct 2, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Backspace "feature" blocking obligatory selects #525
Comments
This should probably be implemented in the library through proper validation measures. I'm going to close this as a duplicate of the other validation issues currently open. |
pierregaste
pushed a commit
to pierregaste/ui-select
that referenced
this issue
Jul 25, 2016
… 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 angular-ui#926 angular-ui#525
kboga
pushed a commit
to kboga/ui-select
that referenced
this issue
Nov 29, 2016
Adds `backspace-reset` attribute (default: `true`). Currently, when you select an option and you press the backspace key, it will reset the model. Setting `backspace-reset="false"` will disable this behavior and so avoid resetting the model. Closes angular-ui#926 angular-ui#525
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey all,
I understand that there is a need to use backspace to delete the selection input.
But is it possible to give it a config in the directive?
In this scenario I do not see a possibility to make a select option obligatory or am I missing something? Should I use the on-select="" property to supress an empty selection?
Kind regards,
Stefan
The text was updated successfully, but these errors were encountered: