Project

General

Profile

Actions

Feature #12881

open

Feature #7894: Add more HTML5 input types

Add a standalone WPasswordEdit

Added by Matthias Van Ceulebroeck 3 months ago. Updated 2 months ago.

Status:
Review
Priority:
Normal
Target version:
Start date:
08/06/2024
Due date:
% Done:

0%

Estimated time:

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
Actions #1

Updated by Romain Mardulyn 3 months ago

  • Status changed from New to InProgress
Actions #2

Updated by Romain Mardulyn 2 months ago

  • Status changed from InProgress to Review
  • Assignee deleted (Romain Mardulyn)
Actions #3

Updated by Matthias Van Ceulebroeck 2 months ago

  • Assignee set to Matthias Van Ceulebroeck
Actions

Also available in: Atom PDF