change(ui) - project form input length
This commit is contained in:
parent
43334b5fbf
commit
d708830f9f
1 changed files with 2 additions and 2 deletions
|
|
@ -102,7 +102,7 @@ export default class NewSiteForm extends React.PureComponent {
|
|||
<div className={styles.content}>
|
||||
<Form.Field>
|
||||
<label>{'Name'}</label>
|
||||
<Input placeholder="Ex. openreplay" name="name" value={site.name} onChange={this.edit} className={styles.input} />
|
||||
<Input placeholder="Ex. openreplay" name="name" maxLength={40} value={site.name} onChange={this.edit} className={styles.input} />
|
||||
</Form.Field>
|
||||
<div className="mt-6 flex justify-between">
|
||||
<Button variant="primary" type="submit" className="float-left mr-2" loading={loading} disabled={!site.validate()}>
|
||||
|
|
@ -114,7 +114,7 @@ export default class NewSiteForm extends React.PureComponent {
|
|||
</Button>
|
||||
)}
|
||||
</div>
|
||||
{this.state.existsError && <div className={styles.errorMessage}>{'Site exists already. Please choose another one.'}</div>}
|
||||
{this.state.existsError && <div className={styles.errorMessage}>{'Project exists already.'}</div>}
|
||||
</div>
|
||||
</Form>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue