Optional
clearIf the value of this field should be cleared when it is conditionally hidden.
Optional
conditionalDetermines when this component should be added to the form for both processing and input.
Optional
defaultThe default value of this compoennt.
Optional
descriptionOptional
disabledOptional
errorsAllows customizable errors to be displayed for each component when an error occurs. This is an object with the following keys: required min max minLength maxLength invalid_email invalid_date pattern custom
An object (keys listed above), values are the strings you wish to display. Each string has the {{ field }} to use within the string. Example. {"required": "{{ field }} is required. Try again."}
Optional
hiddenDetermines if the component should be within the form, but not visible. This can be overridden with the conditionals.
Optional
hideOptional
placeholderThe input placeholder for this component.
Optional
tooltipOptional
validateThis will perform the validation on either "change" or "blur" of the input element.
Generated using TypeDoc
Define a strict variant of Form.io's ComponentSchema interface.
This schema refines Form.io's (too loose) schema. It applies to most of the component types we support.
We also exclude 'multiple' here to force people to explicitly opt-in through the
MultipleCapable
for components that support it.