Form / foldkit-mixins-form

FieldOverride

type · packages/mixins-form/src/index.ts:560

type FieldOverride<
  Key extends string = string,
  Changed = unknown,
  Message = unknown,
> = (input: FieldOverrideInput<Key, Changed>, h: HtmlBuilder<Message>) => Html

Draws one key's control, for a layout the base field view does not own. Changed is the form's Message; Message the universe of the h that draws, which is the form's in the whole-form view and the application's in a custom layout.