Skip to content

Releases: snapappointments/ng-bootstrap-select

v0.5.0

28 Jan 17:45
Compare
Choose a tag to compare

Add selectCollection option (allows for use of options with ng-repeat inside the select).

v0.4.0

27 Jan 21:19
Compare
Choose a tag to compare

More advanced ng-options support/detection.

v0.3.0

21 Jan 23:55
Compare
Choose a tag to compare

Improve bsOptionAttrs support. A JS function that returns an object can now be used.

<select ng-model="model" 
        ng-options="c.label for c in condiments track by c.color" 
        bs-option-attrs="customAttribute">
</select> 
$scope.customAttribute = function(c) {
    return {
        'data-subtext': c.abbrv,
        title: $scope.optionTitle(c.label)
    }
}

$scope.optionTitle = function(label) {
    return 'LABEL: ' + label;
}

v0.2.0

16 Sep 21:39
Compare
Choose a tag to compare

Add bsOptionAttrs option.

e.g.

<select ng-model="model" ng-options="c.label for c in condiments track by c.color" bs-option-attrs="{'data-subtext': 'c.abbrv', title: 'optionTitle(c.label)'}"></select> 

v0.1.0

30 Jul 22:41
Compare
Choose a tag to compare
version bump