refactor(c-input-text): force usage of props with default
This commit is contained in:
		
							parent
							
								
									45c2474279
								
							
						
					
					
						commit
						1e2a35b892
					
				| @ -1,5 +1,4 @@ | ||||
| <script lang="ts" setup> | ||||
| import type { Ref } from 'vue'; | ||||
| import { useAppTheme } from '../theme/themes'; | ||||
| import { useTheme } from './c-input-text.theme'; | ||||
| import { generateRandomId } from '@/utils/random'; | ||||
| @ -61,7 +60,7 @@ const emit = defineEmits(['update:value']); | ||||
| const value = useVModel(props, 'value', emit); | ||||
| const showPassword = ref(false); | ||||
| 
 | ||||
| const { id, placeholder, label, validationRules, labelPosition, labelWidth, labelAlign, autosize } = toRefs(props); | ||||
| const { id, placeholder, label, validationRules, labelPosition, labelWidth, labelAlign, autosize, readonly, disabled, clearable, type, multiline, rows, rawText } = toRefs(props); | ||||
| 
 | ||||
| const validation | ||||
|   = props.validation | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user