there is a way that the NumericTextBox control is not numeric since I need it of type string.
1 Answer, 1 is accepted
0
Nikolay
Telerik team
answered on 03 Sep 2019, 09:26 AM
Hi Luis,
By design, the Kendo NumericTextBox cannot accept a string as a value. It converts an <input> element into a numeric, percentage, or currency textbox.
If you need an input field that can accept strings I would suggest you choosing Kendo MaskedTextBox. When the MaskedTextBox initializes, it decorates the <input> element with a k-textbox CSS class. You can define a specific format by using the mask option of the component or completely remove it to have an input field to have no format specified.
Another option for you would be to specify a single <input> element and dynamically apply a k-textbox CSS class to it. As a result, you will have a consistently styled textbox.
Hope this helps.
Regards,
Nikolay
Progress Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items