This library supports the following features:
Supported Form Elements
The form elements you can use with the widget are limited to the following input types:
Text Inputs
Date and Time Inputs
Numeric Inputs
Selection Inputs
All input elements are displayed in the order specified by the Fields input parameter of the widget.
Field Configurations and Validations
Input field configurations and validations are divided into two parts: a common set of configuration elements that apply to all supported form elements, and type-specific settings that apply only to individual form element types.
Common
The following settings apply to all types:
Type-specific
Type-specific settings are found in the Config object. Depending on the chosen input type, the following settings apply.
For text, textarea, password, email, search, tel and url the following settings apply:
For date, time, datetime-local, month and week:
For number:
For radio and checkbox:
Most of the settings above are related to validation, and the library uses the browser's built-in form validation. You can read more about this client-side form validation on MDN.