ok simple request on table TextColumn

How can I for a table populate a colum(A) with the value of another column(B) from the same row if the cell/column A is empty ?
Placeholder or default doesn't permit to be dynamic
Sorry for this simple question but as newbie I'm still learning and sometimes I'm not so experienced to find the best approach / solution to implement
Many thanks
Solution
->state(fn(YourModel $record) => $record->column_a ?? $record->column_b)
?
Was this page helpful?