Skip to content

Commit 19c71f1

Browse files
authored
fix: inline editable blocks don't support gridfield.
1 parent 3511161 commit 19c71f1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Extension/BaseElementExtension.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,12 @@ public function updateCMSFields(FieldList $fields)
166166
]);
167167
}
168168

169+
if ($this->owner->config()->get('inline_editable')) {
170+
$fields->removeByName('VirtualClones');
171+
172+
return;
173+
}
174+
169175
if ($virtual = $fields->dataFieldByName('VirtualClones')) {
170176
if ($this->owner->VirtualClones()->Count() > 0) {
171177
$tab = $fields->findOrMakeTab('Root.VirtualClones');

0 commit comments

Comments
 (0)