Good morning !! I need to know how I do when I click a button, it will be able to block (disabled) all the inputs or selects I want, basically, maybe * ngIf can do this, but not I know how it's yet Here is the code for the button and select:
<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>