Skip to content

Commit 05c1bc4

Browse files
feature: wrap in value so closures can be used
1 parent 77e8524 commit 05c1bc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/tables/src/Columns/Text.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function getValue($record, $attribute = null)
8080
$value = parent::getValue($record, $attribute);
8181

8282
if ($value === null) {
83-
return $this->default;
83+
return value($this->default);
8484
}
8585

8686
if ($this->formatUsing) {

0 commit comments

Comments
 (0)