JSFiddle - React, Tailwind, and code Playground

by platonfedr

HTML

<input value=" ">

JavaScript

$(document).on('input', 'input', function(e){
  $(this).val(function(i, val){
    return val.replace(',','');
  });
});