I have an AngularJS multiple ui-select control. I need to prevent the backspace key to delete selected items (tags). This is a jsfiddle found on SO while searching about this: http://fiddle.jshell.net/v1df0erv/
It mostly describes what I have. But once tags are added, I need to not allow the backspace key to delete them.
Thanks.
Use ui-lock-choice="true" on ui-select-match element. like explained here: https://github.com/angular-ui/ui-select/wiki/ui-select-match
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.