diff options
author | Dessalines <tyhou13@gmx.com> | 2019-04-29 12:42:22 -0700 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2019-04-29 12:42:22 -0700 |
commit | 746362f9ef5bf9ae409c8ecfe1f0551f64044569 (patch) | |
tree | 7dc2b13ab7e5df8f2d0e0197ece667f64bf2b222 /ui/src/components/site-form.tsx | |
parent | f57004d7fa09908ab0e041e79e838db6d4fc14c3 (diff) |
Adding a max character of 10k to textareas
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 9c0f472b..7c51be40 100644 --- a/ui/src/components/site-form.tsx +++ b/ui/src/components/site-form.tsx @@ -49,7 +49,7 @@ export class SiteForm extends Component<SiteFormProps, SiteFormState> { <div class="form-group row"> <label class="col-12 col-form-label">Sidebar</label> <div class="col-12"> - <textarea value={this.state.siteForm.description} onInput={linkEvent(this, this.handleSiteDescriptionChange)} class="form-control" rows={3} /> + <textarea value={this.state.siteForm.description} onInput={linkEvent(this, this.handleSiteDescriptionChange)} class="form-control" rows={3} maxLength={10000} /> </div> </div> <div class="form-group row"> |