From 8f65488bc886a1d9fe526f390a697ac4ba60354b Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Wed, 11 Dec 2024 10:59:45 +0100 Subject: [PATCH] BoxControl: Better minimum value support --- packages/components/src/box-control/input-control.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/components/src/box-control/input-control.tsx b/packages/components/src/box-control/input-control.tsx index 9086cebedc2749..2e1765f518a57d 100644 --- a/packages/components/src/box-control/input-control.tsx +++ b/packages/components/src/box-control/input-control.tsx @@ -78,6 +78,7 @@ export default function BoxInputControl( { setSelectedUnits, sides, side, + min = 0, ...props }: BoxControlInputControlProps ) { const defaultValuesToModify = getSidesToModify( side, sides ); @@ -154,6 +155,7 @@ export default function BoxInputControl( {