NumericTextBoxComponent
Represents the Kendo UI NumericTextBox component for Angular.
Selector
kendo-numerictextbox
Export Name
Accessible in templates as #kendoNumericTextBoxInstance="kendoNumericTextBox"
Inputs
Name | Type | Default | Description |
---|---|---|---|
autoCorrect |
|
Specifies whether the value will be auto-corrected based on the minimum and maximum values (see example). | |
changeValueOnScroll |
|
|
Determines whether the value of the NumericTextBox will be changed via scrolling. Defaults to |
decimals |
|
Specifies the number of decimals that the user can enter when the input is focused (see example). | |
disabled |
|
Determines whether the NumericTextBox is disabled (see example). To learn how to disable the component in reactive forms, refer to the article on Forms Support. | |
fillMode |
|
The
| |
inputAttributes |
|
Sets the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed. | |
max |
|
Specifies the greatest value that is valid (see example). | |
maxlength |
|
Specifies the maximum number of characters the end user can type or paste in the input.
The locale-specific decimal separator and negative sign ( | |
min |
|
Specifies the smallest value that is valid (see example). | |
placeholder |
|
Specifies the input placeholder. | |
rangeValidation |
|
Determines whether the built-in minimum or maximum validators are enforced when a form is validated.
to | |
readonly |
|
|
Determines whether the NumericTextBox is in its read-only state (see example). |
rounded |
|
The
| |
selectOnFocus |
|
Determines whether the whole value will be selected when the NumericTextBox is clicked. Defaults to | |
size |
|
The size property specifies padding of the NumericTextBox internal input element (see example). The possible values are:
| |
spinners |
|
Specifies whether the Up and Down spin buttons will be rendered (see example). | |
step |
|
Specifies the value that is used to increment or decrement the component value (see example). | |
tabindex |
|
Specifies the tabindex of the component. | |
title |
|
Sets the title of the | |
value |
|
Specifies the value of the NumericTextBox (see example). |
Fields
Name | Type | Default | Description |
---|---|---|---|
format |
|
Specifies the number format which is used when the NumericTextBox is not focused
(see example).
If |
Events
Name | Type | Description |
---|---|---|
inputBlur |
|
Fires each time the |
inputFocus |
|
Fires each time the user focuses the |
blur |
|
Fires each time the NumericTextBox component gets blurred (see example). |
focus |
|
Fires each time the user focuses the NumericTextBox element (see example). |
valueChange |
|
Fires each time the user selects a new value (see example). |
Methods
blur |
---|
Blurs the NumericTextBox. |
focus |
---|
Focuses the NumericTextBox. ts
|
notifyValueChange |
---|
Notifies the |