usingComponent() with null values #2906
Unanswered
anxgstadler
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
Is there a way to use
usingComponent()
on aTD
in a way so that the component is only being called when there is actually a value and notnull
?I have a data set that can have a date field set or not, and when I call
usingComponent(DateTime::class)
I get the current date instead of an empty cell when there isnull
stored in the database.(Since all components that ship with Orchid don't have any check for
null
, I guess there is something I'm missing...)Beta Was this translation helpful? Give feedback.
All reactions