Function: resolveControlMode()
resolveControlMode(
mapping):ControlMode
Defined in: packages/core/src/resolve-control-mode.ts:21
Derive the control mode from a field mapping's component override.
Single source of truth so @zod-to-form/react (runtime) and
@zod-to-form/codegen (static generation) make the same decision without
duplicating the componentOverride?.controlled === true check.