Don't allow negative numbers for access cost and less than 1 for identity
This commit is contained in:
parent
86f9749753
commit
c78465227a
1 changed files with 2 additions and 0 deletions
|
@ -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 => {
|
||||
|
|
Loading…
Reference in a new issue