Results 1 to 4 of 4

Thread: ComponentQuery.query() with a "root" (or "down) does not work with MultiSelect

    You found a bug! We've classified it as EXTJS-16438 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha Premium User
    Join Date
    Nov 2013
    Location
    Piacenza, Italy
    Posts
    220

    Default ComponentQuery.query() with a "root" (or "down) does not work with MultiSelect

    When a container contains a MultiSelect (or an ItemSelector), Ext.ComponentQuery.query() throws an exception if the container is passed to the method as "root".

    Versions tested:
    • Ext JS 4.2.3
    • Ext JS 4.2.3 Nightly (20150420)
    With version 5.x works correctly.

    Examples that work:
    Code:
    container.child('#combobox2')
    Ext.ComponentQuery.query('#combobox2')[0]
    Examples that throw exception:
    Code:
    container.down('#combobox2')
    Ext.ComponentQuery.query('#combobox2', container)[0]
    See this example:
    • Panel 1 does not contain ItemSelectors (no exceptions)
    • Panel 2 contains a MultiSelect (exceptions using buttons 2 and 3)
    • Panel 3 contains an ItemSelector (exceptions using buttons 2 and 3)

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Thanks for the report! We're tracking this issue as EXTJS-16438.

  3. #3
    Sencha Premium User
    Join Date
    Nov 2013
    Location
    Piacenza, Italy
    Posts
    220

    Default

    It seems to work with 6.0.1.250.

    Gary, can you confirm it has been fixed or it's simply my example that works (may be because of differences in structure of MultiSelect in Ext JS 6), but the bug is still there?

  4. #4
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    As far as I can tell, this issue only affects 4.x (from 4.2.3 on).

Similar Threads

  1. Replies: 1
    Last Post: 19 Feb 2015, 2:33 AM

Tags for this Thread

Posting Permissions

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