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
The current Property class does not implement the isArray method which causes it to always return false.
This results in data type misinterpretation in lists.
It is fixable by manually overriding the type in the resource options, however, it still makes it very hard to implement custom filtering options inside the list action.
if(['boolean','number','float','object','array'].includes(filter.property.type())){// <- reaching this step when filter.property.isArray() === true will make it easier to write custom filtering options for array properties.where[name]=safeParseJSON(filter.value);}
If all these changes were to be applied, one could simply:
The current Property class does not implement the
isArray
method which causes it to always returnfalse
.This results in data type misinterpretation in lists.
It is fixable by manually overriding the type in the resource options, however, it still makes it very hard to implement custom filtering options inside the list action.
What fails for me is the resource.find call which eventually tries to convertFilter.
If all these changes were to be applied, one could simply:
inside custom
filter property components
.The text was updated successfully, but these errors were encountered: