From 7cd62f97c84b8be95a2e7ddcec81ad35e7250f2d Mon Sep 17 00:00:00 2001 From: Michael Albrecht Date: Fri, 17 Jan 2025 11:08:38 +0100 Subject: [PATCH] Numeric editable stores the number as a `string` instead of `int` --- src/EditableDialogBox/EditableItem/NumericItem.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/EditableDialogBox/EditableItem/NumericItem.php b/src/EditableDialogBox/EditableItem/NumericItem.php index 4d97308..fb9b32d 100644 --- a/src/EditableDialogBox/EditableItem/NumericItem.php +++ b/src/EditableDialogBox/EditableItem/NumericItem.php @@ -33,8 +33,8 @@ public function setDefaultValue(int $value): static protected function getConfig(): array { return [ - 'minValue' => (string) $this->min, - 'maxValue' => (string) $this->max, + 'minValue' => $this->min, + 'maxValue' => $this->max, ]; } }