3

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.

3
  • 2
    Do you have any plnkr/fiddle for this? Commented Mar 27, 2015 at 14:49
  • No actually, I edited so much and couldn't get the initial version that I created. Commented Mar 27, 2015 at 14:54
  • Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See: How to create a Minimal, Complete, and Verifiable example. Commented Mar 27, 2015 at 18:59

1 Answer 1

2

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.