Hi I am new to Angular Reactive forms and have been working on trying to figure this out.
What I want to do is format the input data to uppercase:/
<input #stateInput matInput type="text"
formControlName="state"
[matAutocomplete]="autoState" maxlength="2"
(keyup)="stateInput.value.toUpperCase()"
required>
I haven't been able to get this to work?
Any help is appreciated
Thanks
<input style="text-transform:uppercase">and in submit trasnform the variable. Another way you must take account if you type in middle of the input