AutoForm
AutoForm associates form input elements with scalar, parameter, or array entity elements.
It can also be used to bind form buttons to the following scenario actions: load, run and save.
Below are the behaviors of the AutoForm component:
- Input elements are automatically populated on page load.
- All requests for data are collected and fired off as one request when view.start() is called. This makes for more efficient data-loading and less network traffic and delays due to latency.
- Each input field is saved when switching between fields or pressing the Enter key.
- The user can back out of an edit by pressing the Escape key on their keyboard.
- Simple validation based on the entity type, e.g. an integer entity, will highlight with an error border if you attempt to input invalid characters.
- Any custom entity validation will also be tested against when a user edits a field.