mirror of
https://github.com/radzenhq/radzen-blazor.git
synced 2026-02-04 05:35:44 +00:00
DataFilter should set filter Type on property change
This commit is contained in:
@@ -189,6 +189,8 @@ else if (Filter != null)
|
||||
}
|
||||
Filter.FilterValue = null;
|
||||
|
||||
Filter.Type = property.FilterPropertyType;
|
||||
|
||||
var defaultOperator = typeof(System.Collections.IEnumerable).IsAssignableFrom(property.FilterPropertyType) ? FilterOperator.Contains : default(FilterOperator);
|
||||
|
||||
if (property.GetFilterOperators().Any(o => o == property.FilterOperator))
|
||||
|
||||
Reference in New Issue
Block a user