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.
After configuration for text field on manage form display settings form, nothing happens on node add/edit form for this field, no matter if I'am logged in as admin or authenticated user
Comments
Comment #2
bbu23 CreditAttribution: bbu23 commentedsubscribe
Comment #3
dawehnerI just tested the module on a real site and it worked. I guess if there is some bug we should adds some forms of tests for it.
Comment #4
dawehnerComment #5
dkre CreditAttribution: dkre commentedI can confirm this doesn't work for textarea summaries unless the parent textarea has maxlength enabled.
The $element['summary'] does get passed to maxlength_pre_render but the $element['summary'] array doesn't contain any maxlength settings.
Comment #6
dawehnerThis sounds a bit similar as #2798903: Maxlength only for summary field?
Comment #7
hoebekewim CreditAttribution: hoebekewim commentedThe issue is encountered only on text with summary fields. Normal text fields are supported.
Comment #8
cedeweyI've updated the title for clarity.
I tested this though and the character count is showing for a summary when the maxlength is only applied to the summary and not the parent field.