Closed kendo-bot closed 3 years ago
When the Kendo UI NumericTextBox widget is implemented via the MVVM pattern, the property "selectOnFocus" can't be set with the 'data' attribute.
1) Create a NumericTextBox widget by using MVVM pattern;
2) Set data-selectOnFocus="true" to the input element for the NumericTextBox;
3) Enter a value in the NumericTextBox and focus it;
4) The entered value is not selected;
A Dojo sample for reproduction: https://dojo.telerik.com/aTidozIC
When the Kendo UI NmericTextBox with MVVM is configured with option data-selectOnFocus="true", the entered value should be selected, once the input element is focused.
Just a note - the property is "data-select-on-focus".
Bug report
When the Kendo UI NumericTextBox widget is implemented via the MVVM pattern, the property "selectOnFocus" can't be set with the 'data' attribute.
Reproduction of the problem
1) Create a NumericTextBox widget by using MVVM pattern;
2) Set data-selectOnFocus="true" to the input element for the NumericTextBox;
3) Enter a value in the NumericTextBox and focus it;
4) The entered value is not selected;
A Dojo sample for reproduction: https://dojo.telerik.com/aTidozIC
Expected/desired behavior
When the Kendo UI NmericTextBox with MVVM is configured with option data-selectOnFocus="true", the entered value should be selected, once the input element is focused.
Environment