touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #117322
[Bug 1226329] Re: [TextField] The placeholderText does not apper when inputMask is setted
Christian, not sure whether is this still valid.
** Changed in: ubuntu-ui-toolkit (Ubuntu)
Assignee: Zsombor Egri (zsombi) => Christian Dywan (kalikiana)
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1226329
Title:
[TextField] The placeholderText does not apper when inputMask is
setted
Status in ubuntu-ui-toolkit package in Ubuntu:
Triaged
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
placeholderText: i18n.tr("Date of birth")
inputMask: "09/09/9999"
}
WORKAROUND:
TextInputDetail {
height: units.gu(4)
// this will never appears
placeholderText: i18n.tr("Date of birth")
inputMask: activeFocus ? "09/09/9999" : ""
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1226329/+subscriptions