html5 capitalize input 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();
}