JSFiddle - React, Tailwind, and code Playground

HTML

<input type="text" value="123" disabled="disabled" />
<input type="text" value="123" />

JavaScript

$(':input').click(function() {
    this.value = 'Hello there!';
});