In ASP.NET Core, when using a TreeList with a data source that gets referenced by its id (instead of defining the data source directly on the TreeList), the built-in search functionality of the toolbar does not apply the filter to the data source. On each change of the search text the data source will send a new request, but the filter parameter is always null. When using the same approach for the Grid widget, the filter gets applied as planned. The attached project shows the behavior for both the TreeList and the Grid in detail.
Is this a bug? Is there another workaround than applying the data source directly to the TreeList (e.g. using JavaScript)?