toolmark-monorepo / @toolmark/core / FieldInfo
Interface: FieldInfo
Defined in: packages/core/src/forms/types.ts:7
A form field as the adapter knows it (labels and elements drive anchors and redaction).
Properties
element?
optionalelement?:Element|null
Defined in: packages/core/src/forms/types.ts:13
The field's element, if mounted (password / cc-* elements are redacted).
label?
optionallabel?:string
Defined in: packages/core/src/forms/types.ts:11
User-facing label.
path
path:
string
Defined in: packages/core/src/forms/types.ts:9
Dot path of the field.
sensitive?
optionalsensitive?:boolean
Defined in: packages/core/src/forms/types.ts:15
Always redact this field's values.