mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
chore(components): use useId from vue
This commit is contained in:
@@ -36,9 +36,8 @@ export interface FormFieldSlots {
|
||||
</script>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { computed, ref, inject, provide, type Ref } from 'vue'
|
||||
import { computed, ref, inject, provide, type Ref, useId } from 'vue'
|
||||
import { Label } from 'radix-vue'
|
||||
import { useId } from '#imports'
|
||||
import { formFieldInjectionKey } from '../composables/useFormField'
|
||||
import type { FormError } from '../types/form'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user