After update to 3.0 version limit stopped working

Created on 6 June 2024, 7 months ago
Updated 28 June 2024, 6 months ago

After update to 3.0 version limit stopped working

I had field formatted long in component of layout builder, after update to version 3.0 maxlength limit stop working. I can type/past text as many as I want.

🐛 Bug report
Status

Postponed: needs info

Version

3.0

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
  • 🇮🇳India dev16.addweb

    Hi @vadymtseiko, I am not able to reproduce the issue.
    1. I have checked in version 3.0.0
    2. Also I have updated from 2.1.3 to 3.0.0
    Could you please provide more steps and suggestions, such as from which version are you updating?

  • 🇺🇦Ukraine Vadym.Tseiko

    Hi @silvi.addweb, I have updated from 2.1.2 to 3.0.0 and this problem occurred. Field inside layout builder component. Maybe this is the problem?

  • 🇮🇳India dev16.addweb

    Hi @vadymtseiko,
    I tested the issue with the layout builder, but I couldn't reproduce it. Let's wait for other users to test it, and see if they encounter the same issue.

  • 🇮🇳India bharath-kondeti Hyderabad

    Looks like the issue is exists. It works when the hard limit box is checked, else it is allowing to type more that limited characters and its saving as well.
    I have tested on Drupal 10.3.0

  • Assigned to PrabuEla
  • Issue was unassigned.
  • Status changed to Postponed: needs info 6 months ago
  • 🇧🇪Belgium joevagyok

    @bharath-kondeti the README.md reads as follows:

    MaxLength allows site administrators to set hard or soft character
    limits on titles, text fields, and links.

    Hard limit will prevent the user from typing further and will truncate the text after the given limit.
    Without this it is a soft limit, meaning the user can time further and it will be saved, but the text count will be red in a warning state that it is over the defined limit.

    So far the issue could not be reproduced, so I will move this to pending state until we get more details about the problem.

Production build 0.71.5 2024