1
0
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:
Brett Sun 2015-12-16 14:48:43 +01:00
parent 1b4c6938f6
commit 75fe89a0ff
2 changed files with 7 additions and 5 deletions

View File

@ -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>
); );

View File

@ -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>
); );
} }