Unplanned
Last Updated: 30 Sep 2024 11:09 by ADMIN
Andrew
Created on: 26 Sep 2024 01:38
Category: Filter
Type: Bug Report
6
Filter with custom editor doesn't save changes when loading existing filters

Hello,

I created a repl to replicate the issue that I'm having. I created a Filter with a custom editor. For this example, I used a Textbox and I save the changes back to the context.FilterDescriptor.Value in the OnChange method which occurs when the user blurs focus.

If you start the repl w/o checking the Use Custom Editor checkbox and enter text where the "Sample" value is located you will see the changes are saved properly to the bound CompositeFilter property and are echo'd back in the screen.

If instead you check the Use Custom Editor box and perform the same test you'll see that the same changes are not present in the bound CompositeFilter. 

Note that this issue only occurs if you start with an existing CompositeFilter and bind it to the filter control. It seems that if the control creates the FilterDescriptor objects then their changes bind properly, but if the FilterDescriptor objects existed before binding to the control then the issue occurs.

https://blazorrepl.telerik.com/wIOtcKOb31mjTc3351

Thank You,

-Andy

 

1 comment
ADMIN
Nadezhda Tacheva
Posted on: 30 Sep 2024 11:09

Hi Andrew,

Thank you for reporting this!

When using the FilterField ValueTemplate, the FilterDescriptor Value indeed does not propagate to the Filter component Value.

I converted the current thread to a public bug report, so it is visible in the feedback portal. I also added your vote and as a creator, you are automatically subscribed to get status updates.

Last but not least, I rewarded your account with some Telerik points as a small gesture of appreciation for your report.

Regards,
Nadezhda Tacheva
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.