diff --git a/src/Form/Type/SIUnitType.php b/src/Form/Type/SIUnitType.php index 13ce0c42..91af5d68 100644 --- a/src/Form/Type/SIUnitType.php +++ b/src/Form/Type/SIUnitType.php @@ -64,7 +64,7 @@ class SIUnitType extends AbstractType implements DataMapperInterface $unit = $options['measurement_unit']; return $unit->isUseSIPrefix(); } - return true; + return false; }, 'is_integer' => function (Options $options) { if ($options['measurement_unit'] !== null) {