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