mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-02 05:08:03 +01:00
test(Form): fix (#2153)
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user