TIMESTAMP and NULL values vs IconColumns

hello, i have in my database column called blowing with 2 values - TIMESTAMP / null and i want use IconColumn. with TIMESTAMP value is works well but null is null. I want to change only in Resource value null to false is possible?
No description
No description
No description
3 Replies
Hasający Kacperek
Hasający KacperekOP10mo ago
Really not even an hint?
awcodes
awcodes10mo ago
->getStateUsing(fn($state) => $state ? true : false) You’re trying to use a Boolean for a field that isn’t true or false. And null columns aren’t render by default.
Dennis Koch
Dennis Koch10mo ago
Maybe give people more than 13 minutes to answer 🤦🏼‍♂️
Want results from more Discord servers?
Add your server