Multiselect text filter

Posted by: amy.pryor on 10 November 2020, 12:27 pm EST

    • Post Options:
    • Link

    Posted 10 November 2020, 12:27 pm EST

    Hi!

    I have a multiselect widget that has ‘showFilterInput’ enabled. I would like the user to be able to filter the list, and add to their existing selections, but the selections seem to be cleared every time the text changes in the filtering box. I’ve looked through the documentation but can’t see how to disable this, is there a way to stop the selections from being cleared?

    Thanks!

  • Posted 11 November 2020, 10:07 am EST

    Hi Amy,

    There is already a report for this with internal tracking id 460594. We will update you once this behavior is added to the MultiSelectListBox.

    Regards,

    Ashwin

  • Posted 15 June 2021, 3:34 pm EST

    Hello Ashwin, good afternoon. I’m in a need of the same feature. Is there any update for this internal ticket 460594 or any estimative when It will be available?

  • Posted 16 June 2021, 12:44 am EST

    Good afternoon, Fernando, how are you doing?

    The checkOnFilter property of MultiSelect/MultiSelectListBox is updated. If you will set its value to false, then you will get the desired behavior.

    Please refer to the document link below for reference:

    https://www.grapecity.com/wijmo/api/classes/wijmo_input.multiselectlistbox.html#checkonfilter

    Regards,

    Ashwin

  • Posted 16 June 2021, 3:59 am EST

    Here is the video CleaningOptions.zip

  • Posted 16 June 2021, 4:44 am EST

    Hello Ashwin. First of all, thank you for your answer. Yes, I’ve tried that option before but It’s not working properly, maybe some bug. I’ve recorded a video, showing the behaviour and my code (Angular 12, Wijmo 5.20211.781). When I enable this option (checkOnFilter) - sometimes when I select items and close the MultiSelect, It emits an empty array. Do you have any idea how to solve It? (Note: switched to latest v.5.20211.794 and still persists)

  • Posted 17 June 2021, 1:46 am EST

    Hi Fernando,

    I am sorry but I was unable to replicate the issue. Please refer to the sample attached that I used to replicate the issue. Can you please let me know whether am I missing something? Feel free to modify the attached sample so that it replicates your issue.

    ~regards

    multiselect-check.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels