File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,13 @@ export interface InputProps extends UseComponentIconsProps {
38
38
disabled? : boolean
39
39
/** Highlight the ring color like a focus state. */
40
40
highlight? : boolean
41
+ modelModifiers? : {
42
+ string? : boolean
43
+ number? : boolean
44
+ trim? : boolean
45
+ lazy? : boolean
46
+ nullify? : boolean
47
+ }
41
48
class? : any
42
49
ui? : Input [' slots' ]
43
50
}
@@ -77,6 +84,7 @@ const props = withDefaults(defineProps<InputProps>(), {
77
84
const emits = defineEmits <InputEmits <T >>()
78
85
const slots = defineSlots <InputSlots >()
79
86
87
+ // eslint-disable-next-line vue/no-dupe-keys
80
88
const [modelValue, modelModifiers] = defineModel <T >()
81
89
82
90
const appConfig = useAppConfig () as Input [' AppConfig' ]
Original file line number Diff line number Diff line change @@ -35,11 +35,17 @@ export interface TextareaProps extends UseComponentIconsProps {
35
35
autoresize? : boolean
36
36
autoresizeDelay? : number
37
37
disabled? : boolean
38
- class? : any
39
38
rows? : number
40
39
maxrows? : number
41
40
/** Highlight the ring color like a focus state. */
42
41
highlight? : boolean
42
+ modelModifiers? : {
43
+ string? : boolean
44
+ trim? : boolean
45
+ lazy? : boolean
46
+ nullify? : boolean
47
+ }
48
+ class? : any
43
49
ui? : Textarea [' slots' ]
44
50
}
45
51
@@ -76,6 +82,7 @@ const props = withDefaults(defineProps<TextareaProps>(), {
76
82
const emits = defineEmits <TextareaEmits <T >>()
77
83
const slots = defineSlots <TextareaSlots >()
78
84
85
+ // eslint-disable-next-line vue/no-dupe-keys
79
86
const [modelValue, modelModifiers] = defineModel <T >()
80
87
81
88
const appConfig = useAppConfig () as Textarea [' AppConfig' ]
You can’t perform that action at this time.
0 commit comments