useFormBase ​
Thin alias that calls useFormBaseLogic and re-exports its return value. Import useFormBase when consuming the combined field-iteration API without caring about the internal split.
File: vue/src/js/hooks/useFormBase.js
Usage ​
js
import { useFormBase } from '@/hooks'
const { flatCombinedArraySorted, bindSchema, onInput } = useFormBase(props, context)Returns ​
All values from useFormBaseLogic. See that page for the full reference.
Notes ​
useFormBaseexists purely as a convenience import alias. All logic resides inuseFormBaseLogic.- The
FormBaseVue component imports this hook to render its slot-driven field layout.
See Also ​
- useFormBaseLogic — full implementation
- useForm — top-level form state