Provide an option for the Kendo UI NumericTextBox to select its value on focus.
This would be a useful feature for data entry situations so you can start typing immediately.
We are aware of the proposed how to article but this is not a good solution for large applications.
Can we have something like "selectOnFocus: true". The code fix for this could be:
kendo.ui.NumericTextBox.fn._focusin =
function
(){
var
that =
this
;
that._inputWrapper.addClass(
"k-state-focused"
);
that._toggleText(
false
);
that.element[0].focus();
// code to add to Kendo source
if
(that.options.selectOnFocus){
setTimeout(
function
(){
that.element[0].select();
});
}
}