Formwright
    Preparing search index...

    A field of any control. Subclass it for your own controls: add getters that read the control and async methods that act on it, and list the control names it drives.

    Hierarchy (View Summary)

    Index
    path: string
    controls: string[] = ...

    Control names (data-test-fw-type) this harness can drive; empty means any.

    • get control(): HTMLElement

      The element the field's

      Returns HTMLElement

    • get displayText(): string | undefined

      The inline value shown before editing (@inline forms).

      Returns string | undefined

    • get element(): Element

      The field's wrapper element, looked up on every read.

      Returns Element

    • get errors(): string[]

      Returns string[]

    • get hint(): string | undefined

      Returns string | undefined

    • get isDirty(): boolean

      Returns boolean

    • get isDisabled(): boolean

      Returns boolean

    • get isInvalid(): boolean

      Returns boolean

    • get isRequired(): boolean

      Returns boolean

    • get label(): string | undefined

      Returns string | undefined

    • get options(): string[]

      Returns string[]

    • get type(): string

      Returns string

    • get value(): string | null

      Returns string | null

    • Confirm mode / inline editing: discard the pending value.

      Returns Promise<void>

    • Confirm mode / inline editing: apply the pending value.

      Returns Promise<void>

    • Parameters

      • key: string

      Returns Promise<void>