Skip to content

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? ​

optional element?: Element | null

Defined in: packages/core/src/forms/types.ts:13

The field's element, if mounted (password / cc-* elements are redacted).


label? ​

optional label?: 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? ​

optional sensitive?: boolean

Defined in: packages/core/src/forms/types.ts:15

Always redact this field's values.