form()
form(
inputs,options?,autosize?):HTMLElement
Defined in: js-api/ui.ts:2284
Creates a form: a vertical list of labeled inputs with auto-sized labels. options.layout picks the
variant: 'narrow' puts labels above the inputs, 'wide' lays the inputs out in two columns.
autosize is accepted for compatibility and ignored.
Parameters
| Parameter | Type | Default value |
|---|---|---|
inputs | InputBase<any>[] | undefined |
options | ElementOptions & object | null | null |
autosize | boolean | true |
Returns
HTMLElement