sony
sony

Reputation: 1503

Set min value for numeric textbox in Kendo ui template

I need to prevent negative values in Kendo numeric textbox template as below:

<input type="text"  data-type="number" data-format="n0" name="SnoozeLength" data-bind="value:snoozeLength" data-role="numerictextbox" />    

is there any attributes which i can use line "min-value= 0"

Upvotes: 1

Views: 4586

Answers (1)

jcgarcia
jcgarcia

Reputation: 3882

Try with the following:

http://docs.telerik.com/kendo-ui/api/web/numerictextbox#configuration-min

You can specify min configuration for your numerictextbox.

Best Regards,

Upvotes: 3

Related Questions