diff --git a/src/components/input/input.ts b/src/components/input/input.ts index 037b9b30b..2cf3795b5 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