Feature #12881
openFeature #7894: Add more HTML5 input types
Add a standalone WPasswordEdit
0%
Description
In an effort to support more native types (see #7894), we already introduces a couple entries, and are working on some more.
One such widget would be WPasswordEdit
. This will essentially be the same as a WLineEdit
in EchoMode::Password
. However, this is somewhat forced into the WLineEdit
interface. It would be cleaner to extract this.
The setEchoMode
would become deprecated.
This widget will already be able to both work in the existing framework as it is, as well as offer a native variant.
The native variant offloads some functionality onto the browser. See a list of potentially viable attributes: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/password.
Some attributes to consider are:
- inputmode
- minlength
- maxlength
- pattern
- required
- autocomplete
Updated by Romain Mardulyn 3 months ago
- Status changed from InProgress to Review
- Assignee deleted (
Romain Mardulyn)
Updated by Matthias Van Ceulebroeck 3 months ago
- Assignee set to Matthias Van Ceulebroeck