JSFiddle - React, Tailwind, and code Playground

HTML

<form method="post">
    <input type="text" name="int" value="42" pattern="\d+" data-type="int" id="int" />
        <input type="text" name="plugin[exampleSettings][int]" value="42" pattern="\d+" data-type="int" id="plugin[exampleSettings][int]" />
        <button type="submit" value="submit">Submit</button>
</form>