Skip to content
代码片段 群组 项目
提交 8089d69f 编辑于 作者: Eduardo Sanz García's avatar Eduardo Sanz García 提交者: Bob Van Landuyt
浏览文件

Remove `maxlength` limit from the project description textarea

In the `General Settings` page one can add an optional project
description. Previously, this textarea field was set to a maximum of
250 characters. In this commit we have remove that limit.

There is an actual limit of 2000 imposed by the backend. If one tries to
save a project description longer than 2000 characters a warning will
appear after clicking `Save changes`.

Changelog: other
上级 4be7b092
No related branches found
No related tags found
无相关合并请求
......@@ -23,7 +23,7 @@
.row
.form-group.col-md-9
= f.label :description, _('Project description (optional)'), class: 'label-bold'
= f.text_area :description, class: 'form-control gl-form-input', rows: 3, maxlength: 250
= f.text_area :description, class: 'form-control gl-form-input', rows: 3
.row= render_if_exists 'projects/classification_policy_settings', f: f
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册