← Back to team overview

touch-packages team mailing list archive

[Bug 1226329] Re: [TextField] The placeholderText does not apper when inputMask is setted

 

** Changed in: ubuntu-ui-toolkit (Ubuntu)
   Importance: Undecided => Medium

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: New => Triaged

** Changed in: ubuntu-ui-toolkit (Ubuntu)
     Assignee: (unassigned) => Zsombor Egri (zsombi)

-- 
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:
  Triaged
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-ui-toolkit/+bug/1226329/+subscriptions