JSFiddle - React, Tailwind, and code Playground by bakhshi February 28, 2018 HTML <input type="text" pattern="[0-9]" required>