mirror of
https://github.com/ascribe/onion.git
synced 2025-02-14 21:10:27 +01:00
Limit edition creation to between 1-100
This commit is contained in:
parent
1b4c6938f6
commit
75fe89a0ff
@ -58,7 +58,8 @@ let CreateEditionsForm = React.createClass({
|
|||||||
<input
|
<input
|
||||||
type="number"
|
type="number"
|
||||||
placeholder="(e.g. 32)"
|
placeholder="(e.g. 32)"
|
||||||
min={1}/>
|
min={1}
|
||||||
|
max={100} />
|
||||||
</Property>
|
</Property>
|
||||||
</Form>
|
</Form>
|
||||||
);
|
);
|
||||||
|
@ -94,7 +94,8 @@ let RegisterPiece = React.createClass( {
|
|||||||
<input
|
<input
|
||||||
type="number"
|
type="number"
|
||||||
placeholder="(e.g. 32)"
|
placeholder="(e.g. 32)"
|
||||||
min={0}/>
|
min={1}
|
||||||
|
max={100} />
|
||||||
</Property>
|
</Property>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user