JSFiddle - React, Tailwind, and code Playground

HTML

<input>

JavaScript

$('input').keydown(function(e) {
    if(e.which === 188) {
        return false;   
    }
});