InputAttributes.type
property · packages/form/src/metakit.ts:22
readonly type: Option.Option<'number' | 'date'>Form / foldkit-form/metakit
interface · packages/form/src/metakit.ts:21
interface InputAttributes {
readonly type: Option.Option<'number' | 'date'>
readonly inputMode: Option.Option<'numeric' | 'decimal'>
readonly min: Option.Option<string>
readonly max: Option.Option<string>
readonly step: Option.Option<string>
}What an HTML <input> takes from a key's declaration. Each is none when the
declaration says nothing about it, and type is none when the control's own
type stands (text, a checkbox, a select).
InputAttributes.typeproperty · packages/form/src/metakit.ts:22
readonly type: Option.Option<'number' | 'date'>InputAttributes.inputModeproperty · packages/form/src/metakit.ts:23
readonly inputMode: Option.Option<'numeric' | 'decimal'>InputAttributes.minproperty · packages/form/src/metakit.ts:25
readonly min: Option.Option<string>The lowest value as the control shows it: a day as YYYY-MM-DD, an amount in whole units.
InputAttributes.maxproperty · packages/form/src/metakit.ts:26
readonly max: Option.Option<string>InputAttributes.stepproperty · packages/form/src/metakit.ts:27
readonly step: Option.Option<string>