JSFiddle - React, Tailwind, and code Playground

by Boban Stojanovski

HTML

<div ng-app="" ng-controller="myCtrl">
    Filter Dropdaun : <input type="text" ng-model="filtering" />
   
    <br/><br/>
    
<select class="form-control" ng-disabled="filteredSet.length === 0" ng-model="selected" ng-options="property.pstSnr.description for property in filteredSet = (leistobToProperties | filter: filtering)"></select>
   
 
</div>

JavaScript

function myCtrl($scope) { 
    $scope.leistobToProperties = [
        { "pstSnr" : { "description" : "test" } },
        { "pstSnr" : { "description" : "test2" } },
        { "pstSnr" : { "description" : "test3" } },
        { "pstSnr" : { "description" : "test4" } }
        ];
}