Number field

A field for numerical values (anya valid floating point number).

Options

OptionTypeDescription
minstringIf defined, sets the minimum value for the field.
maxstringIf defined, sets the maximum value for the field.
stepstringDefines the granularity of values. Behavior is the same as step for a number input.

Example

- name: age
  label: Age
  type: number
  options:
    min: 21
Number field - Astra CMS Documentation