Hello,
at version 12.3.0 TelerikFilter is crashing "at load". Prior this version, same markup = ok.
Error: System.InvalidOperationException: Object of type 'Telerik.Blazor.Components.TelerikFilter' does not have a property matching the name 'ValueChanged'.
also in demo:
https://www.telerik.com/blazor-ui/documentation/components/filter/integration
usage:
<TelerikFilter @bind-Value="@AdvancedFilterValue">
<FilterFields>
@foreach (var it in GridDef.ColStore.Where(x => x.Verejny == true))
{
<FilterField Name="@it.FldName" Type="@it.FldType" Label="@it.VerejnyNazev"></FilterField>
}
</FilterFields>
</TelerikFilter>Hello Michal,
Yes, the redraw is missing in the REPL test page, because the OnUpdate handler is missing too. Please compare with the Filter and Grid integration example.
On the other hand, I reviewed the source code and we can enhance the implementation so that an OnUpdate handler is not necessary to refresh the UI in the described scenario. I expect this to happen in the near future and you will receive automatic status updates. Thanks!
Regards,
Dimo
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.
Hi Dimo,
thanks for the update, "buuuut":
if i try the demo, there is still own moods - Not immediately at load, but "on delete" expression.
How to reproduce:
1) Add expression (at least one)
2) click REMOVE (X) TWO TIMES(on same LAST expression)
error:
" Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')"
maybe, some redraw is missing?
repl:
https://blazorrepl.telerik.com/wqEbwUPI30FSr8fI24
based on
https://www.telerik.com/blazor-ui/documentation/components/filter/integration
Hi Michal,
Telerik UI for Blazor version 12.0.0 no longer allows two-way binding for the Filter Value parameter.
Please use one-way binding and optionally the Filter OnUpdate event. Always refer to the Breaking Changes articles when upgrading to a new major version.
The Grid example on the mentioned page was not migrated, which is now done. Thanks for pointing this out.
Regards,
Dimo
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.