chore: use get in useUI

This commit is contained in:
Benjamin Canac
2023-09-21 12:50:18 +02:00
parent c937736734
commit 86dc49ecc9
34 changed files with 36 additions and 36 deletions

View File

@@ -152,7 +152,7 @@ export default defineComponent({
},
emits: ['update:modelValue', 'blur'],
setup (props, { emit, slots }) {
const { ui, attrs } = useUI('input', props.ui, config, { mergeWrapper: true })
const { ui, attrs } = useUI('ui.input', props.ui, config, { mergeWrapper: true })
const { emitFormBlur, emitFormInput, formGroup } = useFormGroup(props)
const color = computed(() => formGroup?.error?.value ? 'red' : props.color)