Files
ui/docs/content/2.composables/use-form-field.md
Romain Hamel 319fce136f docs(form): update (#2167)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
2024-09-12 15:47:58 +02:00

18 lines
391 B
Markdown

---
title: useFormField
description: 'A composable to integrate custom inputs with the Form component'
navigation:
badge:
label: Todo
---
## Usage
Use the auto-imported `useFormField` composable to integrate custom inputs with a [Form](/components/form).
```vue
<script setup lang="ts">
const { inputId, emitFormBlur, emitFormInput, emitFormChange } = useFormField()
</script>
```