Form elements let users enter information to affect an applications state.
Text inputs are used to enter short amounts of text.
Source markup is unavailable in this environment. Markup extraction relies on debug_heex_annotations and the project source files, which are only present during development.
debug_heex_annotations
Textareas are used to enter larger amounts of text
Select inputs lets a user chose an option from a list of many, displayed in a drop-down list.
Note that you can also use the :multiple option to select multiple options from the list.
We discourage the use of select fields to choose multiple options, as it is an uncommon and unfamiliar way of selecting multiple items. We suggest using checkboxes in these situations
Here's an example of a select with multiple selections allowed:
Checkboxes can be used to select/de-select a single option, or when used in a group, can be used to select multiple values from a list of options.
Color controls select colours
Date inputs selects date values