Skip to content

NumericTextBox with MVVM does not support "selectOnFocus" #6330

@kendo-bot

Description

@kendo-bot

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

  • **Kendo UI version:**2021.1.224
  • jQuery version: 1.12.4
  • Browser: [all]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions