Skip to content

Add a revealed PasswordBox style #2812

@Drise13

Description

@Drise13

Describe the solution you'd like
Looking for a toggle-based password box reveal style. Something similar to MahApp's revealed password box. MahApps seems to require mouse-down to reveal. I believe the correct Material interaction would be to toggle states.

Describe alternatives you've considered
We currently have a custom control that just switches between a textbox and password box, but the toggle button is separate from the input control and seems awkwardly placed.

image

Additional context
Possibly additional nice to haves would be able to directly control the icons used for each state.
Also would be nice if it supported validation rules. (Think WIFI's 8-63 character requirement)

Metadata

Metadata

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions