JSFiddle - React, Tailwind, and code Playground
HTML
<input type="text" />
JavaScript
$(function() {
$('input').keyup(function() {
this.value = this.value.toUpperCase();
});
});
<input type="text" />
$(function() {
$('input').keyup(function() {
this.value = this.value.toUpperCase();
});
});