Adds support for all input types.
Based on: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input
This commit is contained in:
@@ -39,7 +39,7 @@ const props = defineProps({
|
|||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
type: {
|
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',
|
default: 'text',
|
||||||
},
|
},
|
||||||
size: {
|
size: {
|
||||||
|
|||||||
Reference in New Issue
Block a user