Skip to content

useFormField ​

A composable to merge custom inputs with the Form component

Usage ​

Use the auto-imported useFormField composable to integrate custom inputs with a Form.

vue
<script setup lang="ts">
const { inputId, emitFormBlur, emitFormInput, emitFormChange } = useFormField()
</script>

Released under the MIT License.