diff --git a/src/components/input/input.vue b/src/components/input/input.vue index 5a1d40ab..51da6255 100644 --- a/src/components/input/input.vue +++ b/src/components/input/input.vue @@ -85,7 +85,7 @@ props: { type: { validator (value) { - return oneOf(value, ['text', 'textarea', 'password', 'url', 'email', 'date']); + return oneOf(value, ['text', 'textarea', 'password', 'url', 'email', 'date', 'number']); }, default: 'text' },