Equivalent to select2 formatSelectionCssClass
In angular-ui-select2 you could change the styling of the selected items (tagging mode) using select2Options as follows:
$scope.select2Options = { formatSelectionCssClass: function (item, container) { $(container).parent().css({ "background-color": "#000000", "color": "FFFFFF" }); }); }
I am using this to add custom colors to each tag a user selects. Each tag is a custom object that contains a 'color' property.
Is there an equivalent in angular-ui-select? If not is there a plan to add this feature in?
Many thanks.
+1
+1
+1
+1
You can customise match-multiple.tpl.html and/or the contents or
For reference:
Closing as the existing solution is adequate.