New to Kendo UI for AngularStart a free 30-day trial

Custom Input Attributes

Updated on Jan 20, 2026

The Kendo UI for Angular NumericTextBox enables you to extend its default functionality by adding custom HTML attributes to the underlying <input> element of the component. This feature is particularly useful when you need to enhance the accessibility, optimize the mobile input experience, or customize the browser auto-fill behavior.

To learn more about configuring the inputmode HTML attribute and exploring different types of on-screen keyboards, visit the On-Screen Keyboard article.

To define custom attributes for the inner HTML <input> element of the NumericTextBox, use the inputAttributes property of the component. The inputAttributes property accepts an object where each key represents an attribute name and its corresponding value.

html
<kendo-numerictextbox [inputAttributes]="inputAttributes">
</kendo-numerictextbox>

The following example demonstrates how to set custom data-* HTML attributes.

Change Theme
Theme
Loading ...
In this article
Suggested Links
Not finding the help you need?
Contact Support