isteven / angular-multi-select

A multi select dropdown directive for AngularJS. Allows you to use HTML tags and CSS in the data. Requires only AngularJS and nothing else.
isteven.github.io/angular-multi-select
MIT License
1.08k stars 518 forks source link

Can't remove a selection of a single select #519

Closed sterichards closed 7 years ago

sterichards commented 7 years ago

I've implemented a single select dropdown but once a user has selected an option, there is no way to remove a selection all together. The 'Reset' button only reverts the selection to its original state

I have tried adding "helper-elements='none'" but I still don't get an additional 'None' button

EDIT - I've solved this by using 'on-reset' and writing a custom function to unset the 'ticked' property