JSFiddle - React, Tailwind, and code Playground
HTML
<input nome="campo1">
<input nome="campo2">
<input nome="campo3">
<input nome="campo4">
<input nome="campo5">
<input nome="campo6">
<input nome="campo7">
JavaScript
$(document).ready( function() {
$('input').on('input', function(){
// Armazena posição corrente do cursor
var start = this.selectionStart,
end = this.selectionEnd;
this.value = this.value.toUpperCase();
// Restaura posição armazenada anteriormente.
this.setSelectionRange(start, end);
});
});