Results 1 to 3 of 3

Thread: Multiselector search selection bug [Classic 6.6.0]

    You found a bug! We've classified it as EXTJS-27724 . 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
    Jun 2018

    Default Multiselector search selection bug [Classic 6.6.0]

    Ext Version Tested:
    6.6.0 Classic Toolkit

    Browser Tested:


    While using a multiselector, if the main store is changed programmatically after the search box has already been created and shown, then the selection in the search box ends up not matching the new state of the main store.
    I think this should be a relatively easy fix. I noticed that in the multiselector's 'onShowSearch' method, the selection in the search box is made if the main store has data. I think the selection just needs to be cleared out (deselectAll) before this selection is made, and perhaps a couple problems with how that selection is made need to be taken care of.

    Steps to Reproduce the Problem:
    1. Click the + button in the top right of the multiselector to create and show the search box. Notice how the selection matches the initial data in the main store.
    2. Click outside of the search box to hide it.
    3. Click the "Change main store data" button to do what it says. (NOTE: this is using setData(), but it will also work with remove() or removeAt(), or pretty much anything that changes the main store's data programmatically.)
    4. Reopen the search box by clicking the + button again. You should see that the selection reflects the previous state of the main grid, and was not properly matched to its new state.

    Expected Behavior:
    The selected records in the search box should be the same as the records present in the main store, no more, no less.

    Actual Behavior:
    The selection in the search box does not reflect the records present in the main store.

  2. #2
    Sencha - Forum Administrator
    Join Date
    Sep 2017


    Thank you for bringing this to our attention. I have made the support team aware of this issue and they will work on it as soon as possible.

  3. #3
    Ext Support Team
    Join Date
    Jan 2018


    Thanks for the report! I have opened a bug in our bug tracker.

Similar Threads

  1. Replies: 3
    Last Post: 20 Nov 2017, 5:18 AM
  2. MultiSelector search in grid
    By johanand in forum Ext JS 6.x Q&A
    Replies: 1
    Last Post: 2 Aug 2017, 12:26 AM
  3. [OPEN] MultiSelector - No binding possible for MultiSelector-search
    By Psychokrameur in forum Ext 5: Bugs
    Replies: 6
    Last Post: 17 Apr 2016, 7:27 PM
  4. Replies: 5
    Last Post: 8 Jan 2016, 2:17 AM
  5. multiselector search in ExtJS Kitchensink
    By horcle_buzz in forum Ext 5: Q&A
    Replies: 4
    Last Post: 9 Mar 2015, 1:25 PM

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