mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Remove the artificial limit of 4000 characters from text areas. Fixes #2877
This commit is contained in:
parent
5b5363e2c4
commit
a85538a1fc
@ -273,7 +273,8 @@
|
|||||||
_.extend(
|
_.extend(
|
||||||
Backform.TextareaControl.prototype, {
|
Backform.TextareaControl.prototype, {
|
||||||
defaults: _.extend(
|
defaults: _.extend(
|
||||||
Backform.TextareaControl.prototype.defaults, {rows: 5, helpMessage: null}
|
Backform.TextareaControl.prototype.defaults,
|
||||||
|
{rows: 5, helpMessage: null, maxlength: null}
|
||||||
),
|
),
|
||||||
events : {
|
events : {
|
||||||
"change textarea": "onChange",
|
"change textarea": "onChange",
|
||||||
@ -287,7 +288,10 @@
|
|||||||
'<div class="<%=Backform.controlsClassName%>">',
|
'<div class="<%=Backform.controlsClassName%>">',
|
||||||
' <textarea ',
|
' <textarea ',
|
||||||
' class="<%=Backform.controlClassName%> <%=extraClasses.join(\' \')%>" name="<%=name%>"',
|
' class="<%=Backform.controlClassName%> <%=extraClasses.join(\' \')%>" name="<%=name%>"',
|
||||||
' maxlength="<%=maxlength%>" placeholder="<%-placeholder%>" <%=disabled ? "disabled" : ""%>',
|
' <% if (maxlength) { %>',
|
||||||
|
' maxlength="<%=maxlength%>"',
|
||||||
|
' <% } %>',
|
||||||
|
' placeholder="<%-placeholder%>" <%=disabled ? "disabled" : ""%>',
|
||||||
' rows=<%=rows ? rows : ""%>',
|
' rows=<%=rows ? rows : ""%>',
|
||||||
' <%=required ? "required" : ""%>><%-value%></textarea>',
|
' <%=required ? "required" : ""%>><%-value%></textarea>',
|
||||||
' <% if (helpMessage && helpMessage.length) { %>',
|
' <% if (helpMessage && helpMessage.length) { %>',
|
||||||
|
Loading…
Reference in New Issue
Block a user