From c216cfe0fd633b4654ccab175e9f394da808bd8d Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Thu, 5 Jan 2023 11:29:51 -0500 Subject: [PATCH] fix min/max types --- src/components/input/input.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/input/input.ts b/src/components/input/input.ts index 037b9b30..2cf3795b 100644 --- a/src/components/input/input.ts +++ b/src/components/input/input.ts @@ -147,10 +147,10 @@ export default class SlInput extends ShoelaceElement implements ShoelaceFormCont @property({ type: Number }) maxlength: number; /** The input's minimum value. Only applies to date and number input types. */ - @property() min: number; + @property({ type: Number }) min: number; /** The input's maximum value. Only applies to date and number input types. */ - @property() max: number; + @property({ type: Number }) max: number; /** * Specifies the granularity that the value must adhere to, or the special value `any` which means no stepping is