Max lengths on signup form

This commit is contained in:
Will O'Beirne 2019-03-18 15:05:08 -04:00
parent 53f6a186ee
commit fb42eca561
No known key found for this signature in database
GPG Key ID: 44C190DB5DEAF9F6
1 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,7 @@ class SignUp extends React.Component<Props> {
name="name"
placeholder="Non-unique name that others will see you as"
autoComplete="name"
maxLength={50}
/>,
)}
</Form.Item>
@ -47,6 +48,7 @@ class SignUp extends React.Component<Props> {
<Input
name="title"
placeholder="A short description about you, e.g. Core Ethereum Developer"
maxLength={50}
/>,
)}
</Form.Item>
@ -62,6 +64,7 @@ class SignUp extends React.Component<Props> {
name="email"
placeholder="We promise not to spam you or share your email"
autoComplete="username"
maxLength={255}
/>,
)}
</Form.Item>