Don't allow negative numbers for access cost and less than 1 for identity

This commit is contained in:
6ea86b96 2017-06-08 23:25:34 +07:00
parent 86f9749753
commit c78465227a
No known key found for this signature in database
GPG key ID: B282D183E4931E8F

View file

@ -594,6 +594,7 @@ class PublishPage extends React.Component {
className="form-field__input--inline"
step="0.01"
placeholder="1.00"
min="0"
onChange={event => this.handleFeeAmountChange(event)}
/>
{" "}
@ -752,6 +753,7 @@ class PublishPage extends React.Component {
label={__("Deposit")}
postfix="LBC"
step="0.01"
min="1"
type="number"
helper={lbcInputHelp}
onChange={event => {