Character limit not working if user uses 'cut & paste'

Created on 6 June 2024, 10 months ago
Updated 10 July 2024, 9 months ago

Character limit not working if user uses 'cut & paste'

Hello,
When a user enters the text to field by hand the character limit works fine, it stops them at configured limit like I have set it to.
BUT, if a user uses cut and paste he/she can enter apparently an unlimited number. It is easy to reproduce just use 'cut & paste' to add the ad body content. Managed to reproduce on text formatted long. Also when redirect after save is involved - it actually not trimm on save and saved when passed limit.

🐛 Bug report
Status

Postponed: needs info

Version

2.1

Component

Code

Created by

🇺🇦Ukraine Vadym.Tseiko

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Vadym.Tseiko
  • 🇺🇦Ukraine Vadym.Tseiko

    Sorry applied wrong version, that just came out.

  • Status changed to Needs review 9 months ago
  • 🇮🇳India chaitanyadessai Goa

    verified by setting max length value=10 for body field and entered characters which accepted only 10 also tried copy paste more than 10 characters but it limit to 10 characters, hence the functionality is working as expected.

  • Status changed to Postponed: needs info 9 months ago
  • 🇧🇪Belgium joevagyok

    Was this tested over 2.1.x version too @chaitanyadessai?

Production build 0.71.5 2024