Results 1 to 2 of 2

Thread: ComboBox and setRawValue

  1. #1
    Sencha Premium User
    Join Date
    Jun 2011
    Posts
    76

    Default ComboBox and setRawValue

    I have a multi-select combo which uses a ComboBox and CheckBoxListView. When selections have been made in the list the combo's text field is updated from the collapse method by calling setRawValue.

    This works fine except when I attempt to set values pre-render at which time the raw value is displayed but is greyed out - so appears similar to the control's empty text.

    If I set focus on the control then it displays correctly however I'm guessing there's a better way to do this.

    Also, in some cases I need to do this to multiple controls and then end up with them all focused (odd?).

  2. #2
    Sencha Premium User
    Join Date
    Jun 2011
    Posts
    76

    Default

    Resolved this now. Appropriate use of applyEmptyText and removeEmptyText appears to do the trick.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •