Skip to main content

Input Types

The following provides a detailed description of each input type and its associated options.

Number Input

The NumberInput enables inputting a number as an integer or a float.

OptionDescription
NameA unique variable name to be used in the Code step as input to the main function
LabelThe label that describes what the input represents to the user
UnitsThe units that would be displayed to the user. The units will be rendered in Latex/Katex
Default ValueThe default value when the app is initally loaded without any changes from the user
RequiredIf checked, the app will not run unless the value is not empty. Otherwise, empty values are allowed
DisabledIf checked, this input will be displayed to the user without allowing the user to edit the value. Otherwise, the input is editable
StepThe precision by which the user can input a number, ie. the step size
MinThe minimum value that the user can input
MaxThe maximum value that the user can input

As an example, the following image displays an input group with one number input labelled: "Distance" with a default value of 10mm10mm and a precision of 0.001mm0.001mm. The minimum and maximum values allowed are 0 and 10,000. The variable name to be used in the Code step is dist.

img alt

img alt

caution

When editing an input, don't forget to click on APPLY CHANGES at the bottom of the screen to save your work