[MGNLFORM-86] Password paragraph has wrong markup (label and input are nested) Created: 02/May/11  Updated: 03/Dec/13  Resolved: 03/Dec/13

Status: Closed
Project: Magnolia Form Module
Component/s: None
Affects Version/s: 1.2.2
Fix Version/s: 1.4.x

Type: Bug Priority: Major
Reporter: Stefan Baur Assignee: Unassigned
Resolution: Outdated Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File formPassword.ftl    
Template:
Patch included:
Yes
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
Visible to:
Daniel Kummer, Daniel Schlegel, Raphael Joss

 Description   

the input filed for the password is nested into the label. this breaks the design in my project and I dont understand why this should be needed.

in case of a normal textfield the markup seems correct

PASSWORD:

<label for="sdfsdf" class="" id="sdfsdf_label">
<span>
sdf
</span>
<input type="password" value="" id="sdfsdf" name="sdfsdf">
</label>

TEXTFIELD:

<label for="subject">
<span>
Subject
</span>
</label>
<input type="text" maxlength="50" value="" id="subject" name="subject">

I have included my fixed ftl file.



 Comments   
Comment by Stefan Baur [ 18/Jan/13 ]

Going through my reported tickets...

Can be closed.

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