Merge pull request #135 from Eliasyoussef47/Eliasyoussef47-input-types

Adds support for all input types.
This commit is contained in:
Ilya Artamonov
2023-04-21 14:32:54 +03:00
committed by GitHub

View File

@@ -39,7 +39,7 @@ const props = defineProps({
default: false,
},
type: {
type: String as PropType<'text' | 'password'>,
type: String as PropType<'button' | 'checkbox' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'radio' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week'>,
default: 'text',
},
size: {