JSFiddle - React, Tailwind, and code Playground

HTML

<form>
    <input placeholder="type something here">
    <button type="reset">Reset</button>
</form>

JavaScript

$('form').on('reset', function(e) {
    $('input').val('a value that should be set after the form has been reset');
});