Module does not work in d10 due to .once js issue

Created on 4 May 2023, over 1 year ago
Updated 19 July 2023, over 1 year ago

Problem/Motivation

When running the 2.1.0 version of the module in drupal10, the text counter does not appear, and this error is shown in the browser console:

Uncaught TypeError: $(...).not(...).once is not a function

It looks like the JavaScript code for this module should be modified according to this change record: https://www.drupal.org/node/3158256

Steps to reproduce

1. Install drupal 10
2. install and configure the module so that a content type has a field with a text limit
3. create a new node of that type, or edit an existing node,
4. see that the counter does not appear, and the browser javascript console shows the error.

🐛 Bug report
Status

Fixed

Version

2.1

Component

Code

Created by

🇫🇮Finland vermario

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

Comments & Activities

Production build 0.71.5 2024