NumberField
A NumberField allows you to enter any number type and format you want. It could be a decimal number or integer number with a suffix and so on. Also, give you the capability to show or hide increment and decrement keys.
Usage
Basic
Displays various basic configurations for the BitNumberField, including placeholders, disabled state, default values, step values, and required fields.
Label
Demonstrates various label configurations for BitNumberField, including different label positions and custom label templates.
Label position:
LabelTemplate:
Icons
Demonstrates BitNumberField with different icons, including component icon and increment/decrement icons in various modes.
Style & Class
Explores styling and class customization for BitNumberField, including component styles, custom classes, and detailed style options.
Component's Style & Class:
Styles & Classes:
NumberFormat
Demonstrates various number formatting options for BitNumberField, including examples with different number formats.
Prefix & Suffix
Demonstrates the use of prefixes and suffixes in BitNumberField, including examples with different prefix and suffix values.
Distance:
km
Distance:
km
Distance:
km
Distance:
km
Binding
Demonstrates various binding scenarios with BitNumberField, including one-way and two-way binding.
Min & Max
Demonstrates setting minimum and maximum values in BitNumberField, including examples with various min and max constraints.
value: [0]
value: [0]
value: [0]
Events
Handle events in BitNumberField, including increment, decrement, and change events.
OnIncrement Counter: 0
OnDecrement Counter: 0
OnChange Counter: 0
Validation
Demonstrates validation for BitNumberField within a form, including required fields and custom validation messages.
RTL
Use BitNumberField in right-to-left (RTL).
API
BitNumberField parameters
Name |
Type |
Default value |
Description |
---|---|---|---|
BitNumberField public members
Name |
Type |
Default value |
Description |
---|---|---|---|
BitTextInputBase parameters
Name |
Type |
Default value |
Description |
---|---|---|---|
BitInputBase parameters
Name |
Type |
Default value |
Description |
---|---|---|---|
BitInputBase public members
Name |
Type |
Default value |
Description |
---|---|---|---|
BitComponentBase parameters
Name |
Type |
Default value |
Description |
---|---|---|---|
BitComponentBase public members
Name |
Type |
Default value |
Description |
---|---|---|---|
BitNumberFieldClassStyles properties
Name |
Type |
Default value |
Description |
---|---|---|---|
BitVisibility enum
Name |
Value |
Description |
---|---|---|
BitDir enum
Name |
Value |
Description |
---|---|---|
- On this page