Composables

useFormField

A composable to integrate custom inputs with the Form component

Usage

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

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