JSFiddle - React, Tailwind, and code Playground
by tuga
HTML
<input style="text-transform: uppercase;" class="form-control" id="field1" name="field1" ng-model="fieldInfo[' + $scope.idRow + '].FIELD_1" placeholder="Field 1" type="text" maxlength="30" ></td>
JavaScript
$( ".form-control" ).change(function() {
$(this).val($(this).val().trim());
});