Form engine

Every field type, conditional visibility, and autosave wired through the platform @aio/platform-form composer.

Autosave

Form values are debounced into localStorage under aio:formdraft:showcase-form-demo. Refresh the page — your input survives. Successful submits clear the draft.

Every field type

Fifteen field types plus a conditional “Other reason” that appears when Reason is set to “Other”.

Plain-text input with HTML autocomplete.

Multi-line text. Persisted as a string.

Generic numeric input with min/max/step.

Currency-aware. Stored as a major-unit number (e.g. 12.50).

Stored as the raw number (e.g. 20 means 20%).

ISO date string (YYYY-MM-DD).

Single-choice dropdown (native <select>).

Combobox with searchable options. Persisted as string[].

Boolean checkbox.

Boolean switch — same value type as checkbox, different affordance.

Priority

Single-choice radio group.

Free-form tags. Press Enter or comma to add; Backspace removes last.

or drag and drop

Max size: 5 MB

Single-file upload. Drag & drop or browse.

Line items

Repeating subform. Add / remove / reorder rows.

Async picker. Type to filter the mock partner directory.