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
Show code
Displays various basic configurations for the BitNumberField, including placeholders, disabled state, default values, step values, and required fields.
Label
Show code
Demonstrates various label configurations for BitNumberField, including different label positions and custom label templates.
Label position:
LabelTemplate:
Icons
Show code
Demonstrates BitNumberField with different icons, including component icon and increment/decrement icons in various modes.
Style & Class
Show code
Explores styling and class customization for BitNumberField, including component styles, custom classes, and detailed style options.
Component's Style & Class:
Styles & Classes:
NumberFormat
Show code
Demonstrates various number formatting options for BitNumberField, including examples with different number formats.
Prefix & Suffix
Show code
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
Show code
Demonstrates various binding scenarios with BitNumberField, including one-way and two-way binding.
Min & Max
Show code
Demonstrates setting minimum and maximum values in BitNumberField, including examples with various min and max constraints.
value: [0]
value: [0]
value: [0]
Events
Show code
Handle events in BitNumberField, including increment, decrement, and change events.
OnIncrement Counter: 0
OnDecrement Counter: 0
OnChange Counter: 0
Validation
Show code
Demonstrates validation for BitNumberField within a form, including required fields and custom validation messages.
RTL
Show code
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