Bug report
Since R1 2022 spin event is no longer triggered when setOptions is called in NumericTextBox
Reproduction of the problem
Dojo: https://dojo.telerik.com/eTAfAyuP
Expected/desired behavior
Spin event shall fire after setOptions() is called.
Environment
Kendo UI version: 2022.1.119 or above
jQuery version: All
Browser: All
When selectOnFocus is enabled and the NumerictTextBox is focused programmatically, the value is not selected, but the cursor is set after the value.
Scenario 2:
The value in the component will not be selected.
Note: If the user clicks on the NumericTextBox initially and then clicks the button, the value will be highlighted correctly.
In Scenario 2 the previous focus state will be displayed (a single digit will be highlighted).
The value in the NumericTextBox should be highlighted.
It is better if kendo numeric textbox formats value (comma will be added after 3 decimals) as user types, especially for currency values. There are so many jQuery plugins available in market to achieve this. Kendo Numeric text box is not working as expected when integrate with these plugins. Demo url: https://www.jqueryscript.net/demo/Auto-Format-Currency-With-jQuery/
I know it's not officially supported, but when you use it in hybrid mode in an iOS UIWebView, the events sometimes seems to get mixed up. Then when you clic on a filed, it jumps to the the next one while flashing the keyboard. It doesn't happen always, but just clicking in a few fields on a form and it starts. We had to rollback using it in our codebase. I have a video of the behavior and the code (based on your mobile sample).
When you use a NumericTextBox without attribute title, the widget creates automatically one with the current internal value, showing a annoying and unnecessary tooltip.
We would like remove this behavior or change it with a configuration item.
Something like:
<input id="currency" type="number" title="" />
$("#currency").kendoNumericTextBox({
autoTooltip: false,
});
There is a limit in kendoNumericTextBox to 14 decimals. The request is to manage 15 or more decimals.
When calling setOptions on the numericTextBox, the spinner locks up if there is a "factor" option set.
https://dojo.telerik.com/OYiYogis
See the above Dojo.
Removing the factor seems to fix the issue, but I need the factor so that a user can type in 10 for 10% when the type is percentage but 10 for $10.00 when the type is currency.
Reproduction steps:
1) open the dojo https://dojo.telerik.com/uKECIxUv based on https://docs.telerik.com/kendo-ui/knowledge-base/numerictextbox-decimals-precision-runtime-change
2) (important) trigger the validation - e.g. try to type more decimals than the initial
3) Click the Change decimal button
Actual:
You can enter 2 decimals max
Expected:
You can enter 3 decimals max
Feature enhancement
NumericTextBox pops keyboard on mobile on scroll
Reproduction of the problem
https://dojo.telerik.com/uFUNEboh
1. Open up https://runner.telerik.io/fullscreen/uFUNEboh on a cellphone (We've tested with real Android devices)
Expected/desired behavior
NumericTextBox shall not pop up the keyboard on mobile on scroll
Devices: all mobile
### Bug report
When the Kendo UI NumericTextBox has the factor property set and a value pasted, a wrong number is output.
### Reproduction of the problem
1. Create a NumericTextBox and set the format and factor properties.
2. Set a value. Copy and paste value greater than 1.
3. The value 100 is applied to the widget.
Dojo sample for reproduction:
https://dojo.telerik.com/ufOSEGEn
### Expected/desired behavior
The pasted value should be applied to the widget.
### Environment
* **Kendo UI version:** 2021.1.224
* **jQuery version:** 1.12.4
* **Browser:** [all]
Bug report
The pasted value containing whitespaces into numeric textbox results in a trimmed value
Reproduction of the problem
Open this example: https://dojo.telerik.com/iTiBArEh
Click "Run"
Paste "1 000" into the NumericTextBox
Expected/desired behavior
The pasted value shall be '1000' instead of '1'
Environment
Kendo UI version: 2021.2.616 and above
Browser: [all]
### Bug report
NumericTextBox cannot be initialized when element with id options is present on the page. For instance, a div element with id="options".
### Reproduction of the problem
1. Create a NumericTextBox.
2. Add an element with id options.
Dojo sample for reproduction:
https://dojo.telerik.com/oWIwUSAp
### TicketID: 1562966
### Environment
* **Kendo UI version:** 202x.r.ddd
* **jQuery version:** x.y
* **Browser:** [all]