Install

Works with Drupal: ^8.8 || ^9

Using Composer to manage Drupal site dependencies

Alternative installation files

Download maxlength-2.0.0.tar.gztar.gz 18.44 KB
MD5: d41c601f7496a56d155d3018041fac99
SHA-1: 807ce42966635e407190496d8896d0fb47c27597
SHA-256: 407e6d9c5886db31ea6a323a5c1ad78302df941ae26d939407d5ba0afdd874d4
Download maxlength-2.0.0.zipzip 28.06 KB
MD5: 4f88e5bb6e1498180281edbae6439631
SHA-1: 70d35df1161c1081d1d98915ade7d7c24670f3ea
SHA-256: 397cd23c614a59363ac2eab348ec96ef996ceafcd99dd9f65c98612256d71606

Release notes

A big thank you to everyone who helped the MaxLength module reach its first stable release for Drupal 8+. We encourage site owners still using Maxlength 8.x-1.0-rc1 to upgrade to MaxLength 2.0 to benefit from all the improvements made, which include:

  • HTML tags automatically excluded from character count
  • Improved help text and user interface for configuration
  • Fixes to several character count bugs

Note that short text fields now use a soft limit instead of a hard limit. If you upgrade from 1.0-rc1 to 2.0 your short text fields will use the soft limit method. If you do not want a soft limit on plain text fields, wait until we have completed the feature request #3259425: Configure limit method on plain text fields to upgrade to MaxLength 2.0.

Also note that for those using the Form API integration, that the required attribute field name changed from 'maxlength' to 'data-maxlength'.

To upgrade from 1.0-rc1 to 2.0 simply update to the new version and clear cache. Your character count limit configuration will be retained as well as the data in MaxLength-configured fields.

Read more about MaxLength 2.0 in our announcement, MaxLength Module 2.0 Out Now - Set Character Limits on Your Drupal Website

Contributors (10)

hipp2bsquare, Dmitriy.trt, cedewey, srdtwc, boehmrya, sinn, hawkeye.twolf, recrit, ph7, davedg629

Changelog

Issues: 4 issues resolved.

Changes since 2.0.0-rc2:

Bug

Feature

Created by: cedewey
Created on: 31 Jul 2022 at 19:59 UTC
Last updated: 16 Sep 2022 at 18:02 UTC
Bug fixes
New features

Other releases