Handle adding work for homie

This commit is contained in:
Bilal
2020-09-19 04:46:01 +03:00
parent 533ef368cf
commit 6e0df8e7b7
9 changed files with 288 additions and 69 deletions

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="^\\?(([1-9](\\d*|\\d{0,2}(,\\d{3})*))|0)(\\.\\d{1,2})?$" />
<input id="how-much" type="number" className="validate" step="0.01" required="required" value={amountToMove} onChange={handleAmountChange} pattern="\d*" />
<label className="required" htmlFor="how-much">How much?</label>
<span className="helper-text" data-error="Yo! Put some money" />
</div>