Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- Fixed a bug where SVG files missing their `width` and `height` attributes weren’t getting them set as expected.
- Fixed an error that could occur when applying project config changes. ([#18477](https://github.com/craftcms/cms/issues/18477))
- Fixed a bug where Content Block fields’ nested values weren’t always getting set correctly via `resave` commands. ([#18453](https://github.com/craftcms/cms/issues/18453))
- Fixed a bug where addresses without labels weren’t getting chip labels. ([#18481](https://github.com/craftcms/cms/issues/18481))

## 5.9.14 - 2026-02-25

Expand Down
15 changes: 15 additions & 0 deletions src/elements/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -740,6 +740,21 @@ public function defineRules(): array
return $rules;
}

/**
* @inheritdoc
*/
public function getChipLabelHtml(): string
{
$html = parent::getChipLabelHtml();
if ($html !== '') {
return $html;
}

return Craft::t('app', 'Untitled {type}', [
'type' => self::lowerDisplayName(),
]);
}

/**
* @inheritdoc
*/
Expand Down