Number input
The number input component allows you to get a number from the user.
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:
App editor Documentation
The app editor is a low-code builder to create custom User Interfaces with a mix of drag-and-drop and code.
Apps quickstart
Learn how to build your first app in a matter of minutes.
Controls
This component can be controlled by frontend scripts using these functions:
| Name | Parameters | Description | Example |
|---|---|---|---|
| setValue | id: string, value: any | Manually set or force the value of a component. | setValue(id: 'a', value: 17) |
Number input configuration
| Name | Type | Connectable | Templatable | Default | Description |
|---|---|---|---|---|---|
| placeholder | string | false | false | Type... | The number input placeholder. |
| default value | number | true | false | The default value of the number input. | |
| min | number | false | false | The minimum value of the number input. | |
| max | number | false | false | The maximum value of the number input. | |
| step | number | false | false | 1 | The step value of the number input. |
Outputs
| Name | Type | Description |
|---|---|---|
| result | number | The number input value |