0
Good afternoon, I need to remove the blank line that comes as default in the select of Angularjs, I would like to put a default value in place of the blank line. I researched several forums and tried many options but nothing worked. can help me?
<div class="col-md-3">
<label>SubClasse</label>
<select ng-model="modelcompraevenda.subClasse" class="form-control">
<option ng-selected="data.unit == 2" ng-selected="true" ng-repeat="z in modelcompraevenda.listSubClasses" value="{{z.id}}">{{z.descricao}}</option>
</select>
</div>
didn’t work out :/
– Gabriel Souza
your reply complements my, thank you my dear!
– Gabriel Souza