[TextField] The placeholderText does not apper when inputMask is setted
Bug #1226329 reported by
Renato Araujo Oliveira Filho
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Medium
|
Cris Dywan |
Bug Description
The inputMask makes the placehorlderText invisible even when the text property is empty.
Example:
TextInputDetail {
height: units.gu(4)
// this will never appears
inputMask: "09/09/9999"
}
WORKAROUND:
TextInputDetail {
height: units.gu(4)
// this will never appears
inputMask: activeFocus ? "09/09/9999" : ""
}
Changed in ubuntu-ui-toolkit: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Zsombor Egri (zsombi) |
importance: | Undecided → Medium |
status: | New → Triaged |
no longer affects: | ubuntu-ui-toolkit |
To post a comment you must log in.
The WORKAROUND does not work because setting and removing the inputMask cause the field to lost the text value and the field become empty.