JSFiddle - React, Tailwind, and code Playground

HTML

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

JavaScript

$(function() {
  $(document).on('keyup', '[placeholder="x"]', function(event) {
    if (event.keyCode === 64) {
      event.preventDefault();
    }
  });
})