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
Thank you, for this issue. I had actually considered using it as a string. (because it seemed to me more sensible that the id of the filters is a string).
I think that at first, like Workaround, it should be possible to use the caste as a string.
Otherwise to fix this, I won't have the bandwidth to do it. But you can propose a PR, with the correction.
getFilterValue
is a convenient method available for getting a filter's value by its id.This method expects a
string
, but a filter'sid
can bestring | number
(ID
from akita).This leads to this error when trying to use the following code.
This error applies to
AkitaFilterPlugin
as well as the wrapper functions onAkitaMatDataSource
.These functions should accept
ID
so they can reference the filter's id directly without needing a type assertion.The text was updated successfully, but these errors were encountered: