Good afternoon ...
I have the following radio buttons:
<input type="radio" name="radio1" value="entrada"> Entrada
<input type="radio" name="radio1" value="saida"> Saida
I also have the following forms:
<div class="form-group">
<label style="color:white" for="valor">Valor Entrada</label>
<div class="input-group">
<input type="number" class="form-control" step="any" name="valor" required ng-model="divida.valorentrada" required>
</div>
</div>
<div class="form-group">
<label style="color:white" for="valor">Valor Despesa</label>
<div class="input-group">
<input type="number" class="form-control" step="any" name="valor" required ng-model="divida.valorsaida" required>
</div>
</div>
I need to make the form "Value Expense" disabled by selecting the "Entry" radio button, and vice versa.
Can someone give me a light?