test(Form): fix (#2153)

This commit is contained in:
Romain Hamel
2024-09-06 18:58:24 +02:00
committed by GitHub
parent 62a2643a80
commit 8c886279b2
4 changed files with 7 additions and 12 deletions

View File

@@ -46,7 +46,7 @@ const props = withDefaults(defineProps<FormProps<T>>(), {
const emits = defineEmits<FormEmits<T>>()
defineSlots<FormSlots>()
const formId = props.id ?? useId()
const formId = props.id ?? useId() as string
const bus = useEventBus<FormEvent>(`form-${formId}`)
const parentBus = inject(