Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AngularJS dropdown multiselect not working

I wanted to create a simple multi-select dropdown which displays days (mon,tue...sun), select all, unselect all...using angular JS, bootstrap,JS.

I wanted to write controller in a way that if i select monday twice, it de-selects and remove it from the selected items....instead it is keep on adding the elements again and again...and unselect all is not working.

I tried every other way and couldn't succeed. Plz help me or share any similar code that can give me a idea.

PS: I don't want to use jQuery for this.

like image 969
Pradvaar cruz Avatar asked Sep 01 '26 02:09

Pradvaar cruz


1 Answers

Check out the following:

https://github.com/sebastianha/angular-bootstrap-multiselect

OR

http://dotansimha.github.io/angularjs-dropdown-multiselect/#/

The second link seems to be exactly what you are looking for.

like image 61
Ioana Cucuruzan Avatar answered Sep 03 '26 17:09

Ioana Cucuruzan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!