Skip to content

Commit 61cbae2

Browse files
committed
fix(core): fix input min prop type
1 parent 2305e14 commit 61cbae2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/components/input/input.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export class Input implements ComponentInterface, FormAssociatedInterface {
103103
*
104104
* @config
105105
*/
106-
@Prop({ mutable: true }) min?: number;
106+
@Prop({ mutable: true }) min?: number | string;
107107

108108
/**
109109
* The maximum value, which must not be less than its minimum (min attribute) value.

0 commit comments

Comments
 (0)