My data source model has enum columns. I've tried to add those columns to the QueryBuilder but the app crashes when calling GetFilteredRecords inside the RuleChanged handler with "Object reference not set to an instance of an object" exception.
I have found a related question regarding the DataGrid control, and tried to replicate it with the QueryBuilder but have been unsuccessful: https://www.syncfusion.com/forums/156213/application-crashes-when-filter-is-enabled-on-an-enum-field
Is there a way to add enum columns to the QueryBuilder?
Stack trace:
at Syncfusion.Blazor.Data.QueryableOperation.GetColumnType[T](IQueryable`1 dataSource, String filterString, Type type)
at Syncfusion.Blazor.Data.QueryableOperation.PredicateBuilder[T](IQueryable`1 dataSource, List`1 whereFilter, String condition, ParameterExpression paramExpression, Type type)
at Syncfusion.Blazor.Data.QueryableOperation.PerformFiltering[T](IQueryable`1 dataSource, List`1 whereFilter, String condition)
at Syncfusion.Blazor.DataOperations.PerformFiltering[T](IEnumerable`1 dataSource, List`1 whereFilter, String condition)
at Syncfusion.Blazor.QueryBuilder.SfQueryBuilder`1.GetFilteredRecords()