[Koha-bugs] [Bug 27726] OPACProblemReports cuts off message text

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 10 10:47:17 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27726

Peter Vashchuk <stalkernoid at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #117383|0                           |1
        is obsolete|                            |

--- Comment #3 from Peter Vashchuk <stalkernoid at gmail.com> ---
Created attachment 118020
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=118020&action=edit
Bug 27726: Add maxlength attribute to OPACProblemReport textarea

This patch adds a maxlength attribute to the OPACProblemReport textarea.
This will prevent the user from entering more characters than the table
column limit (255).

To test, apply the patch and enable the OPACProblemReport system
preference.

 - Log into the OPAC
 - Click the "Report a problem" link at the bottom of the page.
 - You should see a hint below the textarea, "255 characters maximum."
 - Enter enough text in the textarea to confirm that it is cut off at
   255 characters.

Signed-off-by: Petro Vashchuk <stalkernoid at gmail.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list