diff --git a/packages/c-input/src/c-input.tsx b/packages/c-input/src/c-input.tsx index 1d3ad3e6..0a37202c 100644 --- a/packages/c-input/src/c-input.tsx +++ b/packages/c-input/src/c-input.tsx @@ -69,7 +69,7 @@ export interface CInputProps export const CInput = defineComponent({ name: "CInput", props: { - modelValue: String as PropType, + modelValue: [String, Number] as PropType, ...formControlProps, focusBorderColor: SAO as PropType, isFullWidth: [Boolean, Array] as PropType,