-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Support for select2-type tags/multi-select #59
Comments
+1 for multiselect |
+1 ! |
+1 please :) |
Hi! I've started to implement this, but I have some structural concerns. First of all, the creation of new items has already been implemented by @malexandre and there is an open PR for that. So only the "multiple" feature needs to be implemented. I've been playing around abit, and I think the biggest decision for the community is the syntax. Here is a proposition: <ui-select multiple ng-model="visitedCountries" ng-disabled="disabled">
<ui-select-chosen placeholder="Select or search countries in the list...">
{{$item.name}}
</ui-select-chosen>
<ui-select-choices repeat="country in countries | filter: $select.search">
{{country.name}}
</ui-select-choices>
</ui-select> Where the contents of ui-select-chosen will be transcluded into every "tag". The functionality otherwise should be just like select2. Tokenizing would be nice to. Since I have some free time now for a couple of days, I'd really like @tkrotoff's and @ProLoser's input on this as soon as possible, and get a discussion going. |
Related to PR #138 |
Multiselect support added, check #138 |
Are there plans for supporting tags or multi-select like current select2? Is there a concept/design behind how to implement this? If we move to this directive rather than the select2 port, we will need this functionality. I would like to discuss ideas around it as maybe we could end up helping to get that functionality built.
The text was updated successfully, but these errors were encountered: