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

How to Allow zero's to Numerictext box Ex: -0098 and having spinners on textbox

1 Answer 42 Views
NumericTextBox
This is a migrated thread and some comments may be shown as answers.
Yaswanth
Top achievements
Rank 1
Yaswanth asked on 30 Apr 2020, 06:27 AM
my Requirement is NumericText Box should allow numbers as follow:- 009876543221 and having spinners to increase and decrease numbers and should allow negative numbers in my textbox

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 04 May 2020, 06:14 AM

Hello Yaswanth,

The format could be set with a custom one and the negative numbers available in the input with a min property. For example:

$("#numeric").kendoNumericTextBox({
    min: -100,
    format: "000000000000"
});

Тhe above can be examined live in the following Dojo demo: 

Let me know if you have any questions.

Regards,
Nikolay
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
NumericTextBox
Asked by
Yaswanth
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or