0
I have the SELECT
multiple
with options for query, only when selecting an item does not return anything, if someone can give a strength I thank you.
/* 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>
Is there any way to put the entire angular code into your question? this represents your minimum example is it gets complicated us to make the code that surely already exists!
– novic