Optional ReadonlyerrorError message to display when the field is invalid.
Shown below the field when isValid is false. Can be a function to provide
dynamic error messages based on the validation context.
Optional ReadonlyformatOptions for formatting the number value for display.
Accepts any standard Intl.NumberFormatOptions such as minimumFractionDigits,
maximumFractionDigits, style, currency, etc. Use this to control how the number
is displayed to the user (e.g., as currency, percentage, or with specific decimal places).
Optional ReadonlyhelperHelper text to guide the user.
Shown below the field to provide additional context or instructions. Can be a function to provide dynamic help text based on the field's state.
Optional ReadonlyisWhether the field is enabled for user input.
When false, the field is disabled and the user cannot modify its value. Can be a function
to enable/disable the field dynamically based on other properties.
Optional ReadonlyisWhether the field is required.
When true, displays a required indicator and validates that the field has a value.
Can be a function to determine required status dynamically based on other properties.
Optional ReadonlyisWhether the field's current value is valid.
When false, displays the field in an error state and shows the error text if provided.
Can be a function to validate the field dynamically based on its value and other properties.
Optional ReadonlyisWhether the field is visible in the form.
When false, the field is completely hidden. Can be a function to show/hide the field
dynamically based on other properties.
ReadonlylabelThe display label shown for the field.
Displayed above the input control to indicate what the field represents.
Optional ReadonlymaxMaximum allowed value. Values above this will be rejected.
Optional ReadonlyminMinimum allowed value. Values below this will be rejected.
Optional ReadonlyplaceholderPlaceholder text shown when the field is empty.
Defaults to the field's BaseFieldConfig.label. Use an empty string to display no placeholder.
ReadonlypropertyThe name of the feature property this field edits.
Used to read and write the field's value from the feature's properties. Must match the property name on the feature being edited.
Optional ReadonlyshowWhether to show increment/decrement stepper buttons.
When true, displays arrow buttons allowing the user to increment or decrement the value
by the configured step size.
Optional ReadonlystepIncrement/decrement step size when using stepper buttons.
Determines how much the value changes when clicking the up/down arrows (if steppers are enabled).
ReadonlytypeIdentifies this as a number field.
Configuration for a number field.
Renders a numeric input that stores a number value in the feature property. Supports validation constraints (min/max), precision control, and optional stepper buttons for incrementing/ decrementing the value.