Skip to content

Commit

Permalink
Set default value for DimensionUnitField (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelBrauner authored Dec 2, 2024
1 parent 8b21648 commit 6307fad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ConfigElement/Value/DimensionUnitField.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public function getLabeledValue($object)
$result = new \stdClass();
$result->label = $rawResult->label;
$result->def = $rawResult->def ?? null;
$result->value = null;

$formatter = \Pimcore::getContainer()->get(\Pimcore\Localization\IntlFormatter::class);

Expand Down

0 comments on commit 6307fad

Please sign in to comment.