JSFiddle - React, Tailwind, and code Playground

HTML

<input type="text" placeholder="x">

JavaScript

$(document).ready(function() {

  $('[placeholder="x"]').keypress(function(event){
    
    if (event.which == 64) 
        event.preventDefault();
    
  });
});