Skip to content

Commit

Permalink
fix: toValue not available <3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
zernonia committed Oct 8, 2023
1 parent 9b2a70e commit 5781acb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/radix-vue/src/shared/useFormControl.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { type MaybeElementRef, unrefElement } from '@vueuse/core'
import { computed, toValue } from 'vue'
import { type MaybeElementRef, toValue, unrefElement } from '@vueuse/core'
import { computed } from 'vue'

export function useFormControl(el: MaybeElementRef) {
// We set this to true by default so that events bubble to forms without JS (SSR)
Expand Down

0 comments on commit 5781acb

Please sign in to comment.