Group Filtering

You can filter which groups are displayed by ui-select, by using the group-filter attribute. The provided value should either be an array or function.

Selected: {{country.selected}}

Filter groups by array group-filter="['Z','B','C']"

{{$select.selected.name}}

Filter groups using a function group-filter="ctrl.reverseOrderFilterFn"

{{$select.selected.name}}