Skip to main content

Number

The Number component can be used in any form to provide a numeric input field. It can be configured to be read-only, disabled, required, and can have a placeholder, helper text, and default value.

Examples

A simple number field with validation and dynamic support.
Age will be used for account purposes

Form Data:
{}

Field Properties

Properties used by this field (inside meta field in schema)

NameDescriptionType
displayNameThe label shown above the number fieldstring
displayNameThe label shown above the number fieldstring
displayTypeThe type of the field to be displayedstring
placeholderThe hint shown in the number fieldstring
readOnlyA readonly field is not editable and value cannot be changedboolean
isDisabledA disabled field is not editable and value cannot be changedboolean
requiredIndicates whether the field is mandatoryboolean
patternA regex pattern that the field value must matchstring
minMinimum value for the fieldnumber
maxMaximum value for the fieldnumber
descriptionHelper text or additional description shown below the number fieldstring
valueThe default value of the fieldnumber
overrideDynamicSupportTo override the default behavior of showing static and dynamic optionsboolean