Skip to content

Form builder: expose the field types the runtime already supports #118

Description

@Bidrift

Type: Enhancement

The builder (paperwork-generator-builder.tsx:21-38) only exposes section/text/textarea/dropdown/datalist/toggle/group/charge/general/officer. The runtime engine supports many more that are unreachable from the UI:

better-switch, textarea-with-preset (+ modifiers/input groups), location, multi-select, input_group, hidden, modifier_itemgroup, plus per-field generateValue, prefillKey, and multi-condition stipulations (the builder writes only a single stipulation).

Combined with the save-route dropping conditionals/output_title (separate issue), builder-made generators are strictly weaker than hand-authored static JSON.

Ask: Extend fieldTypes and the FieldEditor config UI to cover the full runtime capability set; at minimum document the builder as a limited subset.


Filed from a code audit of the current master. Line numbers are approximate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions