MaxLength counter stops working after a multivalue field's values are dragged to be reordered

Created on 1 March 2024, 4 months ago
Updated 25 March 2024, 3 months ago

Problem/Motivation

I have a Text (formatted, long) field that is muti-value.
All work when I add/remove a value from the multi-value field but when I drag to re-order the value that value's maxlength stops working.
I attached two images to see the problem

Steps to reproduce

  1. In a multi-value field add max length feature
  2. Create/edit any content with that value
  3. After you added at least two values you may drag to see the error
  4. After saving the content the max length for each value works normally again

Versions I have:

  • Drupal 10.2.3
  • Gin is the admin theme
  • CKEditor5

Proposed resolution

Remaining tasks

  • ❌ Propose a resolution
  • ❌ Implement resolution
  • ❌ Write test coverage (contact a maintainer if you need help)
  • ❌ Maintainer review via the UI
  • ❌ Maintainer Code Review #1
  • ❌ Maintainer code review #2
  • ❌ Merge into dev branch, with credit to author and participants
  • ❌ Get maintainer approval for the proposed resolution
  • User interface changes

    API changes

    Data model changes

    πŸ› Bug report
    Status

    Active

    Version

    3.0

    Component

    Code

    Created by

    πŸ‡§πŸ‡΄Bolivia alvarito75 Cochabamba

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

    Comments & Activities

    Production build 0.69.0 2024