MultiSelect Filtering with allowCustomValue

Hi,


Is it possible on MultiSelectDropdown to enable allowCustomValue and allowFiltering (+ignoreAccent eventually) ?


It seems that filtering is not working when allowCustomValue is enabled.


3 Replies 1 reply marked as answer

BS Buvana Sathasivam Syncfusion Team September 22, 2022 04:54 PM UTC

Hi Julien Barach,


Greetings from Syncfusion support.


We have checked and enabled both allowCustom and allowFiltering properties in the MutiSelect component. But, unfortunately, we weren’t able to reproduce the issue from our end. Kindly refer to the below code snippet and sample for your reference.

[Index.js]

<MultiSelectComponent

              filtering={this.onFiltering.bind(this)}

              allowFiltering={true}

              allowCustomValue={true}…..

            />


Sample Link: https://stackblitz.com/edit/react-e8uppc?file=package.json,index.js


Video Link: https://www.syncfusion.com/downloads/support/common/3016/ze/220922_213344_video_d0b83e8e.zip

If you still face any problems, please share a code snippet or runnable sample and share a video of your issue, which helps us to check and provide you with the solution at the earliest.

Regards,

Buvana S


Marked as answer

JB Julien Barach September 23, 2022 10:24 AM UTC

Thank you.


My datasource was an array of strings. Converting it with an array of objects did the job.



UD UdhayaKumar Duraisamy Syncfusion Team September 26, 2022 08:23 AM UTC

Hi Julien,


Thanks for the update. Please get back to us if you need any further assistance.


Regards,

Udhaya Kumar D


Loader.
Up arrow icon