JSFiddle - React, Tailwind, and code Playground

by dipaks2011

HTML

<input type="text" value="hi" />

JavaScript

$('input[type="text"]').keypress(function(e){
    e.preventDefault();    
});