Builds a form.
ID of the component in its message.
Display text.
At least one and at most component.form_max_fields fields with distinct names.
component.form_max_fields
Submit label and the shared members of ComponentOptions.
The generated ComponentCreate.
ComponentCreate
RangeError when a value breaks a rule of component.v1; the message names the field.
RangeError
component.v1
form("trip", "Trip details", [{ name: "destination", label: "Destination", type: "text" }]); Copy
form("trip", "Trip details", [{ name: "destination", label: "Destination", type: "text" }]);
Builds a form.