2
I have the following situation
I have a municipality select component
<div class="form-group col-md-4">
<label>Entidade:</label>
<select ng-model="distrito.entidade.idEntidade" class="form-control">
<option value="{{dis.entidade.idEntidade}}" ng-repeat="dis in distritos">{{dis.entidade.nome}}</option>
</select>
</div>
I need this select to stay fixed with the option selected and disabled. In this case the user can see the entity but not change it.
did exact as you suggested but it did not work, I must also comment that is coming more than one entity in this
select
– user93180
The field remained enabled?
– Felipe Avelar
Yes, it remained enabled.
– user93180
Really, had an error, edited fixing, see if it solves your problem.
– Felipe Avelar