take size as input in input-text fields
This commit is contained in:
		
							parent
							
								
									08d977b8cd
								
							
						
					
					
						commit
						3b1a7a4cf9
					
				| @ -28,6 +28,7 @@ const props = withDefaults( | |||||||
|     type?: 'text' | 'password' |     type?: 'text' | 'password' | ||||||
|     multiline?: boolean |     multiline?: boolean | ||||||
|     rows?: number | string |     rows?: number | string | ||||||
|  |     size: string | ||||||
|     autosize?: boolean |     autosize?: boolean | ||||||
|     autofocus?: boolean |     autofocus?: boolean | ||||||
|     monospace?: boolean |     monospace?: boolean | ||||||
| @ -55,6 +56,7 @@ const props = withDefaults( | |||||||
|     type: 'text', |     type: 'text', | ||||||
|     multiline: false, |     multiline: false, | ||||||
|     rows: 3, |     rows: 3, | ||||||
|  |     size: "1", | ||||||
|     autosize: false, |     autosize: false, | ||||||
|     autofocus: false, |     autofocus: false, | ||||||
|     monospace: false, |     monospace: false, | ||||||
| @ -183,7 +185,7 @@ defineExpose({ | |||||||
|           :class="{ |           :class="{ | ||||||
|             'leading-5 !font-mono': monospace, |             'leading-5 !font-mono': monospace, | ||||||
|           }" |           }" | ||||||
|           size="1" |           :size="size" | ||||||
|           :placeholder="placeholder" |           :placeholder="placeholder" | ||||||
|           :readonly="readonly" |           :readonly="readonly" | ||||||
|           :disabled="disabled" |           :disabled="disabled" | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user