Upgrade to 3.4.1

This commit is contained in:
Bastian Allgeier
2020-08-04 15:56:15 +02:00
parent f2f3bb96c0
commit 68078dd107
33 changed files with 328 additions and 318 deletions

View File

@@ -110,9 +110,9 @@ return [
if (empty($this->columns)) {
foreach ($this->fields as $field) {
// Skip hidden fields.
// Skip hidden and unsaveable fields
// They should never be included as column
if ($field['type'] === 'hidden') {
if ($field['type'] === 'hidden' || $field['saveable'] === false) {
continue;
}
@@ -129,7 +129,7 @@ return [
$field = $this->fields[$columnName] ?? null;
if (empty($field) === true) {
if (empty($field) === true || $field['saveable'] === false) {
continue;
}
@@ -181,7 +181,7 @@ return [
$data = [];
foreach ($value as $row) {
$data[] = $this->form($row)->data();
$data[] = $this->form($row)->content();
}
return $data;