← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1174985] Re: ListItem.Standard requires a Button control

 

raring has seen the end of its life and is no longer receiving any
updates. Marking the raring task for this ticket as "Won't Fix".

** Changed in: ubuntu-ui-toolkit (Ubuntu Raring)
       Status: New => Won't Fix

-- 
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/1174985

Title:
  ListItem.Standard requires a Button control

Status in Ubuntu UI Toolkit:
  Fix Released
Status in ubuntu-ui-toolkit package in Ubuntu:
  Fix Released
Status in ubuntu-ui-toolkit source package in Raring:
  Won't Fix

Bug description:
  Since the documentation on ListItem.Standard says "control : Item" I
  tried to use it with a TextField:

  ListItem.Standard {
      text: i18n.tr("Username")
      control: TextField {
          placeholderText: i18n.tr("John Doe")
          width: units.gu(19)
      }
  }

  The error message misteriously says "Cannot assign object to
  property".

  a) The documentation should say that "control" must be a Button.
  b) The error should be clearer, such as "Cannot use TextField as a control; the control must be a Button"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1174985/+subscriptions