[MGNLUI-6047] Missing Textfield Max Length counter in 6.2 Created: 15/Jul/20  Updated: 23/Jul/20  Resolved: 23/Jul/20

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2.1
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Viet Nguyen Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File 6.1.x.png     PNG File 6.2.1.png    
Issue Links:
causality
duplicate
duplicates MGNLUI-5897 maxLength counter no longer shown on ... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

According to https://documentation.magnolia-cms.com/display/DOCS62/Text+field:

A counter below the field shows how many characters you have left.
E.g., for a pages meta description we set maxLength: 160. Thus, it effectively stops input at 160 characters.

However, in MGNL 6.2.1 DXC no such counter appears:

It still working in 6.1.x

Example configuration:

form:
  tabs:
      fields:
        - name: title
          class: info.magnolia.ui.form.field.definition.TextFieldDefinition
          i18n: true
          label: title
          rows: 2
          maxLength: 200

Generated at Mon Feb 12 09:32:38 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.