diff --git a/packages/core/src/FieldTypes/Number.php b/packages/core/src/FieldTypes/Number.php index df99b1d0c0..067d36522d 100644 --- a/packages/core/src/FieldTypes/Number.php +++ b/packages/core/src/FieldTypes/Number.php @@ -54,7 +54,7 @@ public function setValue($value) throw new FieldTypeException(self::class.' value must be numeric.'); } - $this->value = $value; + $this->value = $value ? $value + 0 : ''; } /**