I have SELECT
multiple
with the options for query, but when I select an item does not return anything, if someone can give a force I thank.
/* Retorna operadoras */
$scope.operadoras = [{
nome: "CLARO"
},
{
nome: "TIM"
},
{
nome: "VIVO"
},
{
nome: "OI"
},
{
nome: "NEXTEL"
}
];
$scope.filtroOperadora = function() {
return ($scope.operadoras == busca.nome);
}
<div class="form-group col-md-2 input-group-sm mb-3">
<label for="exampleInputPassword1" class="text-sm font-weight-bold">Operadora</label>
<select class="form-control seleciona text-sm" multiple name="prospectOperadora" data-width="100%" ng-model="busca">
<option value="">Selecione</option>
<option ng-repeat="oper in operadoras" value="{{oper.nome}}">
{{oper.nome}}
</option>
</select>
</div>
<li style="font-size: 13px; padding:10px;" ng-repeat="prospect in listaProspect | orderBy: 'prospectNome' | betweenDate:'prospeccaoPrevisao':startDate:endDate | filter:busca track by $index">
</li>