Completed
Last Updated: 27 Jan 2022 09:19 by ADMIN
Matija
Created on: 02 Feb 2015 15:50
Category: NumericTextBox
Type: Feature Request
3
Provide a way to disable automatic numeric text box value adjusting on blur
Currently, if a user enters into a numeric text box a value that is lower than the HTML5 "min" attribute or greater than the "max" attribute, kendo adjusts the value to either min or max. 

There should be a way to disable that. This messes with, for example, angular validation which also triggers on min and max and prevents us from supporting the functionality where we WANT to let the user enter the erronous value if he wants, but prevent him from submitting the form until they correct it.

This feature also fails to honor angular's allowInvalid flag, as it always adjusts the value, even if allowInvalid is set to true.
7 comments
ADMIN
Martin Bechev
Posted on: 27 Jan 2022 09:19

Hello all,

First I want to apologize for causing confusion in this thread.

The Kendo UI for Angular NumericTextBox provides a built-in autoCorrect property. Setting it to false does not change the entered value on blur if it exceeds the set min and max restrictions:

Here is an exmaple:

https://stackblitz.com/edit/angular-uuxx4w-jyp5eb?file=app/app.component.ts

That is why I am changing the feature request status to 'Completed'.

 

Regarding the same functionality in Kendo UI for jQuery NumericTextBox, I want to encourage you to subscribe and cast your vote for the following feature requests:

https://feedback.telerik.com/kendo-jquery-ui/1359675-change-numeric-textbox-k-min-k-max-validation-behavior

https://feedback.telerik.com/kendo-jquery-ui/1529708-provide-a-way-to-disable-autocorrect-numeric-text-box-values-to-min-or-max-values

Regards,
Martin
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Lee
Posted on: 21 Jan 2022 18:52
This should not be marked as declined. Please reconsider as it is an important feature with requests dating back to 2012. 
ADMIN
Martin Bechev
Posted on: 29 Jul 2021 09:04

Hello Christian,

Please open a support ticket by selecting NumericTextBox / Kendo UI for jQuery as a product, or open a feature request here in Kendo UI for jQuery Feedback Portal:

https://feedback.telerik.com/kendo-jquery-ui

Regards
Martin
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Christian
Posted on: 29 Jul 2021 08:42
As mentioned below we use the jquery kendo ui version. And there is no configuration option of autoCorrect. Will you provide this for the kendo ui jquery version too?
ADMIN
Martin Bechev
Posted on: 29 Jul 2021 07:44

Hello Christian,

By default when setting the min and max properties of the NumericTextBox, and the input value exceeds the set restrictions the value will not be changed.

The value will be corrected during insertion, in case the autoCorrect built-in option is set to true. For more details please check the following article:

https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/

This is the current behavior of the component and we do not intend to change it at this time.

Regards,
Martin
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Christian
Posted on: 28 Jul 2021 13:08

We use the kendo jQuery version but we have the same problem here as well. Changing the input value without giving feedback to the user that his input has been changed ... this is not good. Especially, if you donĀ“t have the option to disable this.

For us, there is very high interest to make this very questionable feature configureable!!

ADMIN
Martin Bechev
Posted on: 16 Jun 2021 13:22

Hello Matija,

We are declining this request due to low interest and demand.

Regards,
Martin
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.