Skip to content

Commit

Permalink
Display nullable booleans as null values
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed Sep 18, 2023
1 parent 12cc0e9 commit 847fd65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Field/Configurator/CommonPostConfigurator.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ private function updateFieldTemplate(FieldDto $field): void
$isEmpty = is_countable($field->getFormattedValue()) && 0 === \count($field->getFormattedValue());

$adminContext = $this->adminContextProvider->getContext();
if ($usesEasyAdminTemplate && $isNullValue && !$isBooleanField) {
if ($usesEasyAdminTemplate && $isNullValue) {
$field->setTemplatePath($adminContext->getTemplatePath('label/null'));
}

Expand Down

0 comments on commit 847fd65

Please sign in to comment.