Number

This is a single numeric value input.

Number Field
{
  component: 'number',
  name: 'numberName',
  label: 'Number Field',
  description: 'A number field',
  defaultValue: 0,
}

Key

Type

Required

Description

component

string

yes

The name of the field component. (number)

name

string

yes

The name of the field that will be accessible by the cms prop of the component

label

string

no

A human-readable label for the field.

description

string

no

A short description of the setting scope.

defaultValue

number

no

The default value for the field.

Last updated