Add put in work #15

Merged
bilal.catic merged 4 commits from add-put-in-work into master 2020-09-20 17:25:59 +02:00
Showing only changes of commit beabcf66e3 - Show all commits

View File

@@ -96,7 +96,7 @@ const MakeMoneyMove = (props) => {
<h3>Make Money Move</h3>
<div className="input-field col s12">
<input id="how-much" type="number" className="validate" step="0.01" required="required" value={amountToMove} onChange={handleAmountChange} pattern="\d*" />
<input id="how-much" type="number" className="validate" step="0.01" required="required" value={amountToMove} onChange={handleAmountChange} pattern="^\\?(([1-9](\\d*|\\d{0,2}(,\\d{3})*))|0)(\\.\\d{1,2})?$" />
<label className="required" htmlFor="how-much">How much?</label>
<span className="helper-text" data-error="Yo! Put some money" />
</div>