Hi!
After updating the library to the latest stable version, the filter for RadzenDropDown stopped working.
For example:
<RadzenDropDown TValue="string"
Data="@currencies"
Style="width: 100%;"
AllowClear="true"
AllowFiltering="true"
Placeholder="Выберите валюту.."
TextProperty="AlphabeticCode"/>
..
private IEnumerable<CurrencyModel> currencies = new List<CurrencyModel>();
// or
private List<CurrencyModel> currencies = new List<CurrencyModel>();
An exception:
Microsoft.AspNetCore.Components.Server.Circuits.RemoteRenderer: Warning: Unhandled exception rendering component: No applicable method 'Contains' exists in type 'Object'
No applicable method 'Contains' exists in type 'Object' (at index 47)
Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost: Error: Unhandled exception in circuit 'qv98XdF5P7Uu6JVZMZctpvVlb-8v6U8hdp4sR8DvUMY'.
No applicable method 'Contains' exists in type 'Object' (at index 47)
Microsoft.AspNetCore.Routing.EndpointMiddleware: Information: Executed endpoint '/_blazor'
Microsoft.AspNetCore.Hosting.Diagnostics: Information: Request finished in 5437.9525ms 101
If we indicate the type:
<RadzenDropDown TValue="CurrencyModel"
Data="@currencies"
Style="width: 100%;"
AllowClear="true"
AllowFiltering="true"
Placeholder="Выберите валюту.."
TextProperty="AlphabeticCode"/>
An exception:
Microsoft.AspNetCore.Components.Server.Circuits.RemoteRenderer: Warning: Unhandled exception rendering component: No applicable method 'Contains' exists in type 'Object'
No applicable method 'Contains' exists in type 'Object' (at index 47)
Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost: Error: Unhandled exception in circuit 'KEc2vKAVgIgz2WdQW8AVVRDdsoZF6NWxxbCprwJT7pY'.
No applicable method 'Contains' exists in type 'Object' (at index 47)
Microsoft.AspNetCore.Routing.EndpointMiddleware: Information: Executed endpoint '/_blazor'
Microsoft.AspNetCore.Hosting.Diagnostics: Information: Request finished in 11530.350400000001ms 101
How to fix this problem?