Function: createBaseField()
createBaseField(
key,zodType):FormField
Defined in: packages/core/src/utils.ts:321
Create a base FormField with sensible defaults. Processors fill in the specific component and props after calling this.
Parameters
key
string
The field path (e.g. "name", "address.street").
zodType
string
The Zod def.type string (e.g. "string", "object").
Returns
A FormField with all required properties set to their defaults.