feature: wrap in value so closures can be used

This commit is contained in:
Ryan Chandler
2021-03-02 14:10:19 +00:00
parent 77e8524ea8
commit 05c1bc4305
+1 -1
View File
@@ -80,7 +80,7 @@ class Text extends Column
$value = parent::getValue($record, $attribute);
if ($value === null) {
return $this->default;
return value($this->default);
}
if ($this->formatUsing) {