Here is a problem about filtering data with drop-down list combined

As the screenshot shown, when I enter text/chars in the textbox, the drop-down list didn’t re-bond/match the datasource according to what I typed.

How to figure out this issue? What should I do?   




6 Replies 1 reply marked as answer

SP Sureshkumar P Syncfusion Team August 5, 2022 08:33 AM UTC

Hi Renard,

We have validated the shared code example; we suspect that you have reset the component datasource value inside the filtering event handler. We suggest you no need to update the data source value inside the filter event handler method you can pass the filtered result to the updatedata method to get the suggestion list update in the component popup.

Find the code example here:

public onFiltering: EmitType<FilteringEventArgs> = (e: FilteringEventArgs) => {

    let query: Query = new Query();

    //frame the query based on search string with filter type.

    query = (e.text !== '') ? query.where('Name', 'startswith', e.text, true) : query;

    //pass the filter data source, filter query to updateData method.

    e.updateData(this.data, query);

  }

 


Find the sample here: https://stackblitz.com/edit/angular-dkocyd?file=app.component.ts

If still, you have faced the same issue, then please replicate the above sample, and revert us with a detailed issue replication procedure. These details will help us to provide an exact solution as earlier as possible.

Regards,

Sureshkumar P



RE Renard replied to Sureshkumar P August 5, 2022 09:57 AM UTC


In the previous version, there was no problem with my drop-down box binding data, but this problem occurred after I upgraded the version








DR Deepak Ramakrishnan Syncfusion Team August 9, 2022 03:15 PM UTC

Hi Renard ,


As we requested earlier , Kindly provide the modified sample or provide the stack blitz sample which you showcased the issue in first update provided from your side . Hence the reported bug doesn’t occurred in our end .



Thanks,

Deepak R.



SP Sureshkumar P Syncfusion Team August 17, 2022 05:38 AM UTC

Hi Renard, 

Thanks for your shared information. We have confirmed the reported issue is an issue at our end and this fix will be included in our upcoming weekly patch release, which is expected to be rolled out on August 24th, 2022.

You can track the status of this issue from the below feedback.

Feedback: https://www.syncfusion.com/feedback/37042

  

Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization



Regards,

Sureshkumar P




SP Sureshkumar P Syncfusion Team August 24, 2022 10:05 AM UTC

Hi Renard,


We are facing complexity to resolve this issue. We will include it in the upcoming weekly patch release.

Which is expected to be rolled out on August 31st,2022.


Regards,

Sureshkumar P



SP Sureshkumar P Syncfusion Team September 5, 2022 06:11 AM UTC

Hi All,

We have fixed your reported issue from our end in the latest 20.2.45 version. So, we suggest you upgrade to our latest version to resolve the current issue.

Please find the release notes here https://ej2.syncfusion.com/angular/documentation/release-notes/20.2.45/?type=all#autocomplete

Regards,

Sureshkumar P


Marked as answer
Loader.
Up arrow icon