Skip to main content

Number input

The number input component allows you to get a number from the user.

Number input API

The following section details Number input component's specific settings. For more details on the App editor, check the dedicated documentation or the App editor Quickstart:

Controls

This component can be controlled by frontend scripts using these functions:

NameParametersDescriptionExample
setValueid: string, value: anyManually set or force the value of a component.setValue(id: 'a', value: 17)

Number input configuration

NameTypeConnectableTemplatableDefaultDescription
placeholderstringfalsefalseType...The number input placeholder.
default valuenumbertruefalseThe default value of the number input.
minnumberfalsefalseThe minimum value of the number input.
maxnumberfalsefalseThe maximum value of the number input.
stepnumberfalsefalse1The step value of the number input.

Outputs

NameTypeDescription
resultnumberThe number input value