Form Components
General Componentsβ
The following components are used to display Vulcan forms.
SmartFormβ
This component (FormWrapper.jsx) wraps the entire form and handles all data loading.
Formβ
This is the main component responsible for generating and displaying the form.
FormErrorsβ
Used to display errors at the top of the form.
FormGroupβ
Used to display form groups.
FormSubmitβ
Used to display the form's submit and cancel buttons.
FieldErrorsβ
Used to display errors beneath a form field.
FormComponentβ
Used to display an individual form field.
FormNested & FormNestedItemβ
Used to display nested form items along with add/remove controls.
Field Componentsβ
In addition to the components used to display the form's structure, an additional set of components is used to display each individual field, according to its type.
To select a field, use its lowercase name as the control property on your schema (e.g. control: 'select').
Defaultβ
Default form input, for text strings.
Textareaβ
Textarea form input.
Emailβ
Email form input.
Numberβ
Number form input. Will be used automatically for Number fields.
Urlβ
URL form input.
Checkboxβ
Checkbox form input. Will be used automatically for Boolean fields.
Checkboxgroupβ
Checkbox form input.
Selectβ
Select form input.
Radiogroupβ
Radio group form input
Date, Time, Datetimeβ
Used to select a date, a time, or both. Date will be used automatically for Date fields.