JSFiddle - React, Tailwind, and code Playground
by Prajeesh_PR
HTML
<input type="text" id="ccNr" onkeyup="myFunction()">
JavaScript
function myFunction() {
alert("r")
var x = document.getElementById("fname");
x.value = x.value.toUpperCase();
}