I am trying to make the text capitalized when writing in the inputs, but this is not saved in the form control value.
<mat-form-field>
<input matInput formControlName="nombre" (keyup)="$event.target.value = $event.target.value.toUpperCase();">
</mat-form-field>
The result visible in the input is the desired one, but the value that the form control does not, any idea of how to also update the formcontrol value by using the event?