fix bug
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user