[MGNLUI-5537] Create M6 UI PasswordField Created: 29/Nov/19  Updated: 30/Oct/20  Resolved: 21/Sep/20

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

Type: Improvement Priority: Neutral
Reporter: Adam Siska Assignee: Adam Siska
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: 4h 40m
Time Spent: 49m
Original Estimate: Not Specified

Issue Links:
dependency
is depended upon by MGNLUI-5346 Migrate Security app to new framework... Closed
documentation
to be documented by MGNLUI-6238 DOC: passwordField for Magnolia 6 UI Closed
relation
is related to MGNLUI-4182 Password field stores password in pla... Closed
is related to MGNLUI-1569 Password field renders verificationMe... Closed
is related to MGNLUI-1101 Password field should be reworked Closed
is related to MGNLUI-4267 Minimum length setting for password f... 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)
Release notes required:
Yes
Documentation update required:
Yes
Date of First Response:
Epic Link: UI framework implementation
Sprint: UI Framework 11, UI FW 11
Story Points: 5

 Description   

PasswordField is still missing in new M6 ui framework.

Nevertheless there are some tickets for old password field (linked to this ticket) and some of them suggest refining specification of this field. For example encode has description "Encodes the password and visually masks the characters", which  don't give much sense as masking character in field is like fundamental, and there would be probably needed different read/save logic and use cases for hashed and plaintext passwords (see MGNLUI-4182 comments). Additionally proposal for configurable min. password length was made.



 Comments   
Comment by Adam Siska [ 29/Sep/20 ]

Simple password field with type alias was implemented, i.e. we have type alias passwordField which creates plain com.vaadin.ui.PasswordField:

  • simple password field with no additional functionality for use in custom actions by FormView#getPropertyValue only
  • can reveal password in plain text when used in dialog/form with standard save action
Generated at Mon Feb 12 09:27:33 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.