Increase the #maxlength of the Selector and container elements

Created on 21 September 2023, over 1 year ago

Problem/Motivation

By default, Drupal has a a #maxlength value of 128 for text fields, however certain sites require more specific selectors to match against.

Steps to reproduce

Attempt to add a CSS selector longer than 128 characters to the Toc.js block. e.g. for the Container and Selectors element.

Proposed resolution

Increase the limit to something larger like 2048, the default browser value is 524,288.

Remaining tasks

Provide issue fork/patch.

User interface changes

UI now allows users to put in longer text values.

📌 Task
Status

Active

Version

2.0

Component

Code

Created by

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024