how to capitalize the user input html code example
Example: capitalize input text html
//for angular
(input)="onInput($event)"
onInput(event) {
event.target.value = event.target.value.toLocaleUpperCase();
}
//for HTML
(onInput)="onInput($event)"
onInput(event) {
event.target.value = event.target.value.toLocaleUpperCase();
}