JSFiddle - React, Tailwind, and code Playground

by der_robert

HTML

<input type="text" pattern="[0-9]+([\.|,][0-9]{1,2})?" name="amount">