diff options
author | Dessalines <tyhou13@gmx.com> | 2019-04-18 08:14:45 -0700 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2019-04-18 08:14:45 -0700 |
commit | 927dcd8191846e4493b55bf1dca8c6efc6815893 (patch) | |
tree | edbc1a08a45af72210feb289045ea9a2c98c82d6 /ui/src/components/site-form.tsx | |
parent | fdf547354f225621763fdc46c9b099ed05789271 (diff) |
Adding max length to user, post, and forum fields.
Fixes #76
Diffstat (limited to 'ui/src/components/site-form.tsx')
-rw-r--r-- | ui/src/components/site-form.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/components/site-form.tsx b/ui/src/components/site-form.tsx index 78a332f6..7ca45b86 100644 --- a/ui/src/components/site-form.tsx +++ b/ui/src/components/site-form.tsx @@ -37,7 +37,7 @@ export class SiteForm extends Component<SiteFormProps, SiteFormState> { <div class="form-group row"> <label class="col-12 col-form-label">Name</label> <div class="col-12"> - <input type="text" class="form-control" value={this.state.siteForm.name} onInput={linkEvent(this, this.handleSiteNameChange)} required minLength={3} /> + <input type="text" class="form-control" value={this.state.siteForm.name} onInput={linkEvent(this, this.handleSiteNameChange)} required minLength={3} maxLength={20} /> </div> </div> <div class="form-group row"> |