Increase guestbook comment character limit to 4000

This commit is contained in:
Helen Chong 2024-05-25 02:25:02 +08:00
parent ea52e489d3
commit ab40caeeee
1 changed files with 10 additions and 10 deletions

View File

@ -68,11 +68,11 @@ registerNamespace("GW.Controls", function (ns)
{
//Markup
this.innerHTML = `
<form id="${this.idKey}-form"
aria-labelledby="${this.idKey}-title"
aria-describedby="${this.idKey}-banner"
class="comment-form"
autocomplete="off"
<form id="${this.idKey}-form"
aria-labelledby="${this.idKey}-title"
aria-describedby="${this.idKey}-banner"
class="comment-form"
autocomplete="off"
>
<span id="${this.idKey}-title" class="comment-form-title">${this.titleText}</span>
<div class="input-horizontal-flex">
@ -102,11 +102,11 @@ registerNamespace("GW.Controls", function (ns)
Comment<span aria-hidden="true">*</span>
<span class="visually-hidden">(Required)</span>
</label>
<textarea id="${this.idKey}-comment"
minlength="1"
maxlength="1000"
required="true"
rows="5"
<textarea id="${this.idKey}-comment"
minlength="1"
maxlength="4000"
required="true"
rows="5"
></textarea>
</div>
</div>