From 4d45a18ff8b16369ade477a69f15fd96ce503b39 Mon Sep 17 00:00:00 2001 From: Romain Hamel Date: Tue, 14 Nov 2023 12:35:22 +0100 Subject: [PATCH] fix: lint --- src/runtime/components/forms/Checkbox.vue | 1 - src/runtime/components/forms/FormGroup.vue | 1 - src/runtime/components/forms/Radio.vue | 3 +-- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/runtime/components/forms/Checkbox.vue b/src/runtime/components/forms/Checkbox.vue index 337cc50aab..511c6d4a59 100644 --- a/src/runtime/components/forms/Checkbox.vue +++ b/src/runtime/components/forms/Checkbox.vue @@ -36,7 +36,6 @@ import { twMerge, twJoin } from 'tailwind-merge' import { useUI } from '../../composables/useUI' import { useFormGroup } from '../../composables/useFormGroup' import { mergeConfig } from '../../utils' -import { uid } from '../../utils/uid' import type { Strategy } from '../../types' // @ts-expect-error import appConfig from '#build/app.config' diff --git a/src/runtime/components/forms/FormGroup.vue b/src/runtime/components/forms/FormGroup.vue index 5b2883d4ff..4a93e117c9 100644 --- a/src/runtime/components/forms/FormGroup.vue +++ b/src/runtime/components/forms/FormGroup.vue @@ -46,7 +46,6 @@ import type { FormError, InjectedFormGroupValue, Strategy } from '../../types' // @ts-expect-error import appConfig from '#build/app.config' import { formGroup } from '#ui/ui.config' -import { uid } from '../../utils/uid' const config = mergeConfig(appConfig.ui.strategy, appConfig.ui.formGroup, formGroup) diff --git a/src/runtime/components/forms/Radio.vue b/src/runtime/components/forms/Radio.vue index 61cfb10a84..bcb6f2b49f 100644 --- a/src/runtime/components/forms/Radio.vue +++ b/src/runtime/components/forms/Radio.vue @@ -47,8 +47,7 @@ export default defineComponent({ props: { id: { type: String, - // A default value is needed here to bind the label - default: () => null, + default: () => null }, value: { type: [String, Number, Boolean],