1
Good morning!! I come again to ask questions... I need to know how I do so that when I click a button, it will be able to block(disabled) all inputs or selects that I want, basically, maybe *ngIf can do this, but I don’t know how yet... Follow button and select code:
<div class="col-md-3">
<label>Forma de Pagamento:</label>
<select class="form-control" formControlName="forma">
<option selected>Selecione...</option>
<option *ngFor="let pgmtt of pgmt" value="{{pgmtt.Codigo}}">{{pgmtt.Codigo}} - {{pgmtt.Nome}}</option>
</select>
</div>
---------------------------------------------------------------------------------------
<!-- botão -->
<button type="button" class="btn btn-info" >Incluir
<i class="glyphicon glyphicon-plus"></i>
</button>
I tried this way, but it did not disable select after clicking
– Bruno Miqueas