An interactive numeric input box with custom formatting masks (thousand/decimal separators, custom masks) and support for persistent left/right visual adornments (icons or text).
- Capturing numeric inputs inside forms where precise mask formatting (decimal precision, custom separators, number masks) or visual adornments (icons/prefixes) are needed.
- Collecting financial, statistical, or masked numerical data that binds directly to database schema fields.
The Data Source configuration section remains deactivated until a default_form is present on the page layout. Once linked to a form via Element ID and Field Path, the input binds directly to the form’s state and schema.
- Data Source section attributes remain locked until a default_form is actively placed in the workspace hierarchy.
- A currency entry field formatted with a custom prefix, thousand separators (’,’) and fixed 2-digit decimal precision.
- A phone number or structured ID input using a custom masking pattern like ‘##### ## #’.
- Using for simple read-only numerical displays, use the number_field component instead.
- Attempting to configure data bindings before placing a parent default_form element on the canvas.
Pairs well with
- Form — Provides the underlying form context, validation errors, and mutation handlers.
Configure these in the Application Designer property panel. Group headings mirror the editor where possible. Data Source is where the element gets its rows or field binding (a view/query, a connector operation, or a parent form field). References appear only for view-backed sources and map foreign-key ID columns to readable labels from another view.
- Another element on the page whose data backs this field.Default: none
- Path into the source element’s data (property segments).Default: none
- Initial numeric value loaded into the field before user interaction.Default: none
- Number of decimal places allowed (e.g., 1 for 0.0, 2 for 0.00).Default: none
- Static string placed directly before the number.Example
$Default: none - Static string placed directly after the number.Example
USDDefault: none - Character used to separate thousands (e.g., ‘,’ for 1,000).Example
,Default: none - Character used for decimals (e.g., ‘.’ for 9.8).Example
.Default: none - Expression controlling how the value is displayed.Example
##### ## #Default: none - When true, the control cannot be edited.Example
falseDefault: none - Whether the field may be left empty.Example
falseDefault: none
- Static text shown before the number.Default: none
- Icon shown before the number.Default: none
- Static text shown after the number.Default: none
- Icon shown after the number.Default: none
- No size of its own: dropped at the platform default of 1 × 1 grid cells and resized on the page.
label— Label text shown above the input field.
Standard accessible numeric input exposing ARIA value attributes and keyboard controls for incrementing/decrementing values.
- Up and Down arrow keys increment or decrement numeric values.
Other parts of your app can read live values from this element in custom expressions:
elements.myNumberInput.<property>
value
number
Current input value of this control.
elements.myNumberInput.value
When The current number in the form, before saving. Use it in arithmetic elsewhere on the page — a running total or a derived price.
disabled
boolean
True while the control is locked and cannot be edited.
elements.myNumberInput.disabled
touched
boolean
Map of fields the user has interacted with.
elements.myNumberInput.touched
To use one of these, open the property you want to drive on the other element, switch it to expression mode in the Expression Editor, and enter:
| |
Replace myNumberInput with this element’s unique id. Select the element in Application Designer and copy the id chip at the top of the right-hand property panel.
Drag this element into one of these containers:
- Form — Can be nested directly inside or placed alongside form layouts. When a form is linked as a data source, it transitions behavior from local state management to form-bound schema state tracking.
| |