<kendo-numerictextbox id="example1" name="example1" value="@Model.Example1" min="0" format="n0" decimals="0" data-bind="value: Example1" class="form-control" disabled="@isDisabled" placeholder="0" auto-bind="true"></kendo-numerictextbox>
I don’t want any decimals for the above input. I have tried several methods to restrict decimals but sadly nothing is working.
Tried the following things:
- format=”n0″
- decimals=”0″
- restrictDecimals=”true”
But, still user is able to enter decimal and values after it.