Cannot select more than one item even if selectLimit is set
This might be just an issue due to the fact that I'm a noob in the ecosystem, but I cannot figure out a way to make multi select work... I can see that the selectionLimit is correctly set since I see "/ 4 checked" in the dropdown menu. But if I select a second value, it doesn't get appended.
Maybe this is a compat issue between the versions I'm using?
I created a jsFiddle trying to show the behavior I'm seeing. https://jsfiddle.net/jmarrec/916cp5gr/3/
For the record I use Firefox 54.0 64bit on macOS.
Let me know if you need anything else please. Thanks!
(PS: You might want to close #387 and move the discussion here considering how the issue is (not) worded...)
I could have been clearer: I'm trying to use the Custom Template Format (example 19) from the docs
The thing is that if I open the dev console on the docs page, and access the $scope and set the $scope.example19data to my resultsWithInfo array (in the jsfiddle), it works as intended... I'm guessing this is a version conflict or I'm missing a dependency?
Any tip would be greatly appreciated, thanks!
I finally made it work. https://jsfiddle.net/jmarrec/916cp5gr/
Needed 2.0.0 beta to make it work, also need to put selected_model = [] and not selected_model = {} like in the doc, because otherwise it throws "$scope.selectedModel.indexOf is not a function" here