how to filter null relationship
so i have a relationship that can be null
how to let the user filter by null?
4 Replies
We're confused about what you mean by this question. Please read the #✅┊rules and reply to this message to provide more information about your use case.
in my table component i have a select filter
at the moment it lets the user filter by winner. winner is a relationship. so user can choose any winner.
but this relationship can be null. this means, in this case, that if is null, a draw happened
so id like to add an option to that selectfilter to let the user filter by draw
You can use a
TernaryFilter
:
And you can set the true/false labels however you likeoh, nice.
after some time, i finally did it this way (:
what do u think?