We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'd like to filter the listed options from ng-selectize. For a "normal" <select> I do it like this:
<select>
$scope.objects = [ ... ]; $scope.myFilters = {type:'tv', country:'Austria'};
<select ng-model="selectedObject" > <option ng-repeat="o in objects | filter:myFilters:strict">{{o.name}}</option> </select>
Now with ng-selectize I do not have the <option>-tags because they are generated from the variable given in the options attribute
<option>
<select selectize="" options="objects" ng-model="selectedObject" ng-disabled="disabled"></select>
Is there a way how I can still do this with ng-selectize?
The text was updated successfully, but these errors were encountered:
Have you tried changing options="objects" to options="filteredObjects"?
options="objects"
options="filteredObjects"
In theory the two way binding should do the trick, or bind to a function that returns a filtered collection.
Sorry, something went wrong.
No branches or pull requests
I'd like to filter the listed options from ng-selectize. For a "normal"
<select>
I do it like this:Now with ng-selectize I do not have the
<option>
-tags because they are generated from the variable given in the options attributeIs there a way how I can still do this with ng-selectize?
The text was updated successfully, but these errors were encountered: