You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
If my custom filter requires some arguments in constructor, for example i want to pass column name, operator for query etc. then i cant use this filter because of $currentFilter = new $filter; line in globalFiltered. Maybe it will be useful to check type of $filter and if it is already object just use it instead of trying to create new instance.
My current workaround - set all required properties in separated methods instead of passing them to constructor.
The text was updated successfully, but these errors were encountered:
If my custom filter requires some arguments in constructor, for example i want to pass column name, operator for query etc. then i cant use this filter because of
$currentFilter = new $filter;
line inglobalFiltered
. Maybe it will be useful to check type of $filter and if it is already object just use it instead of trying to create new instance.My current workaround - set all required properties in separated methods instead of passing them to constructor.
The text was updated successfully, but these errors were encountered: