← Back to team overview

ubuntu-sdk-bugs team mailing list archive

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

 

** No longer affects: ubuntu-ui-toolkit

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, 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