Skip to content

Commit

Permalink
feat(form-group): add unref for errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaubree committed Feb 7, 2024
1 parent 1145a46 commit c3b6cac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/form-group/UFormGroup.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<script setup lang="ts">
import type { MaybeRef } from '@vueuse/core'
import { merge } from 'lodash-es'
import type { appConfig } from '~/config'
import type { DeepPartial } from '~/types'
Expand All @@ -8,7 +9,7 @@ const props = withDefaults(defineProps<{
label?: string
isRequired?: boolean
isDisabled?: boolean
error?: string
error?: MaybeRef<string>
ui?: DeepPartial<typeof appConfig.ui.formGroup>
}>(), {
ui: () => useAppUi().formGroup,
Expand Down

0 comments on commit c3b6cac

Please sign in to comment.