JSFiddle - React, Tailwind, and code Playground

HTML

<form action="" method="get" style="display:inline; position:relative">
        <div>
            <label>test1</label>
            <input id="test1" name="test1" type="text" value="clickable"/>
        </div>
        <div style="display:inline-block;">
            <label>test2</label>
            <input id="test2" name="test2" type="text" value="not clickable"/>
        </div>
        <div style="clear:both;"><input type="submit" value="submit"></div>
    </form>