[MGNLFORM-358] FormEdit MaxLenght not working (typo) Created: 27/Oct/21  Updated: 18/Oct/22  Resolved: 28/Mar/22

Status: Closed
Project: Magnolia Form Module
Component/s: field, validation
Affects Version/s: 2.7.3
Fix Version/s: 2.7.5

Type: Bug Priority: Medium
Reporter: Björn Eschle Assignee: Jesus Alonso
Resolution: Fixed Votes: 0
Labels: quickwin
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File formEdit_maxLenght.patch    
Issue Links:
Relates
relates to MGNLFORM-343 maxLength property not set in field Closed
Template:
Patch included:
Yes
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Date of First Response:
Epic Link: AuthorX Support
Sprint: AuthorX 6
Story Points: 0.5
Team: AuthorX

 Description   

Steps to reproduce

  1. Add form component
  2. Add FormEdit field with maxLenght 1
  3. Enter more than 1 character into FormEdit field

Expected results

Only 1 character can be entered

Actual results

Unlimited characters can be entered (maxlength not set for textarea, due to typo - camel case)

Workaround

Rename FormEdit field maxLength to maxlength

/modules/form/dialogs/formEdit/form/tabs/tabMain/fields/maxLength

->

/modules/form/dialogs/formEdit/form/tabs/tabMain/fields/maxlength


 Comments   
Comment by Mercedes Iruela [ 27/Oct/21 ]

Hello Björn,

Thanks for reaching out reporting issues and for the patch you provided.

Best regards,
Mercedes

Generated at Mon Feb 12 05:39:25 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.