-1
How can I set as mandatory fields to fill after set choice in the radio as fixed:
Code
html
<span>
<label>Atividade Fixa: </label>
<mat-radio-group name="atividade_fixa">
<mat-radio-button value="true">Sim</mat-radio-button>
<mat-radio-button value="false">Não</mat-radio-button>
</mat-radio-group>
</span>
and
<span>
<mat-form-field style="width:100px;">
<input matInput [matDatepickerFilter]="myFilter" [matDatepicker]="dpDataLimite" [min]="data?data:minDate" placeholder="Data Limite" [(ngModel)]="dataLimite" name="dpDataLimite">
<mat-datepicker-toggle matSuffix [for]="dpDataLimite">
</mat-datepicker-toggle>
<mat-datepicker #dpDataLimite></mat-datepicker>
</mat-form-field>
</span>
It should have a nicer shape, but this is the one I can think of now: https://stackblitz.com/edit/angular-drac5s?file=app%2Fdatepicker-Overview-example.html
– edson alves