This is a migrated thread and some comments may be shown as answers.

Disabling Spinner and Step, but zero still remains

1 Answer 165 Views
NumericTextBox
This is a migrated thread and some comments may be shown as answers.
Salim
Top achievements
Rank 1
Salim asked on 28 Feb 2017, 09:30 AM

I need to disable completely the spinner and the step, so I did the following:

http://dojo.telerik.com/AMeli

It is working great except for one problem: when clicking on arrow down, zero is displayed which is incorrect. The user did not enter zero. Please help.

1 Answer, 1 is accepted

Sort by
0
Accepted
Stefan
Telerik team
answered on 02 Mar 2017, 08:06 AM
Hello Salim,

In this scenario, I can suggest unbinding the keydown event from the NumericTextBox element.

Please check the modified Dojo demonstrating this:

http://dojo.telerik.com/AMeli/4

I hope this will help to achieve the desired result.

Regards,
Stefan
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data (charts) and form elements.
Tags
NumericTextBox
Asked by
Salim
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or