input capital letters 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();
}