JSFiddle - React, Tailwind, and code Playground by der_robert March 28, 2025 HTML <input type="text" pattern="[0-9]+([\.|,][0-9]{1,2})?" name="amount">