Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This may be related to #2819031.
Maxlength seems to count a string of many initial spaces as one character, but after a non-space character it counts a string of spaces as multiple characters. Is this the expected behaviour?
Additionally, the count indicator does not update when the key press is for a space character. It only updates when a non-space character is typed.
It is perhaps best explained with a video/gif: https://gfycat.com/ElatedDecentGalapagossealion
Comment | File | Size | Author |
---|---|---|---|
ElatedDecentGalapagossealion.gif | 1015.94 KB | Phil Wolstenholme |
Comments
Comment #2
cedeweyThis is being worked on in https://www.drupal.org/project/maxlength/issues/2825511
Comment #3
cedewey