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

Micha1111 created an issue. See original summary.

bbu23’s picture

subscribe

dawehner’s picture

Issue tags: +Needs tests

I 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.

dawehner’s picture

Status: Active » Postponed (maintainer needs more info)
dkre’s picture

Version: 8.x-1.x-dev » 8.x-1.0-beta1

I 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.

dawehner’s picture

This sounds a bit similar as #2798903: Maxlength only for summary field?

hoebekewim’s picture

The issue is encountered only on text with summary fields. Normal text fields are supported.

cedewey’s picture

Title: Nothing shown on node add/edit form » Character count not displaying for summary if maxlength is only applied to summary, not parent field.
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

I'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.