diff --git a/resources/views/components/row.blade.php b/resources/views/components/row.blade.php index aeab0990..31f9855e 100644 --- a/resources/views/components/row.blade.php +++ b/resources/views/components/row.blade.php @@ -30,7 +30,7 @@ @php $content = $row->{$column->field} ?? ''; $contentClassField = $column->contentClassField != '' ? $row->{$column->contentClassField} : ''; - $content = preg_replace('#(.*?)#is', '', $content ?? ''); + $field = $column->dataField != '' ? $column->dataField : $column->field; $contentClass = $column->contentClasses;