(this page was created automatically. In case of formatting issues, please visit the official Wiki Page)

Number Input

Overview

Example Number Input

Specs

Tokens

Token Description
displayName Display name of the component shown in the structure panel
id Unique identifier for programmatic access
labelTranslations Field label with multi-language support
value Initial numeric value displayed in the input
helperText Guidance text shown below the input field
step Increment or decrement value when using controls
thousandSeparator Character used to separate thousands
hidden Controls whether the component is visible to users
saveInLocalStorage Preserves value in local storage across reloads
defaultValue Value used when the form is reset
readonly Displays value without allowing edits
dataField Field name used when submitting form data
controlsRequestType Defines how field data is sent in HTTP requests
validation Configures validation rules for input
required Marks field as mandatory
min Minimum allowed value
max Maximum allowed value
validated Enables or disables validation
authorizationDisable Policy set to disable component based on permissions
events Configurable component events
ON_INIT (Events) Event triggered on initialization
ON_DESTROY (Events) Event triggered on removal
ON_VALUE_CHANGE (Events) Event triggered when value changes
ON_INIT_BASED_ON_USER_VIEW (Events) Event triggered when initialized in user view mode
dataTestId Testing hook identifier

Structure

(Configured in General Properties)

(Configured in Visual Properties)

(Configured in Non-Visual Properties)

Styling

(Configured in Visual Properties)

Visual Properties tab

Validation

(Configured in Validation)

Authorization

(Configured in Authorization)

Actions & Variants

(Configured in Visual Properties)

(Configured in Events)

Tests

(Configured in Testing Hooks)

Links

Guidelines

Usage

Sizing & Layout

States & Feedback

Data-Driven / Conditional Behavior

Visibility & Authorization

Content & Localization

Dos & Don’ts

Do Don’t Article setting(s)
Set step to match the smallest valid increment (e.g., 0.5). Leave the default and force trial-and-error increments. step
Enforce domain limits with validation.min/validation.max and enable validated. Allow any number and reject only at submit time. validation.min, validation.max, validated
Format large values using thousandSeparator. Show long digit strings without separators. thousandSeparator
Separate working value from reset value. Use value expecting it to reset automatically. value, defaultValue
Persist drafts in long flows. Make users retype values after a reload. saveInLocalStorage
Display computed results as read-only. Show computed values as editable fields. readonly, value
Hide fields that aren’t relevant. Leave irrelevant inputs visible and empty. hidden
Localize visible labels. Hard-code English labels. labelTranslations
Map data explicitly for submission. Rely on implicit names or default request placement. dataField, controlsRequestType
Clamp or react to edits on change. Ignore ON_VALUE_CHANGE and let invalid states propagate. events.ON_VALUE_CHANGE

Accessibility