Merge pull request #1180 from jericrealubit/EditableLiteralField-nolabel-fix-JamesDPC

This commit is contained in:
Michal Kleiner 2022-12-07 23:26:39 +13:00 committed by GitHub
commit 3b043bfb43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ class EditableLiteralField extends EditableFormField
parent::updateFormField($field);
if ($this->HideLabel) {
$this->ExtraClass .= ' nolabel';
$field->addExtraClass('nolabel');
} else {
$field->setTitle($this->Title);
}