Skip to content

Commit 6d73a79

Browse files
committed
Sync with Kendo UI Professional
1 parent 166bd12 commit 6d73a79

File tree

64 files changed

+236
-33
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+236
-33
lines changed

docs-aspnet/how-to/build-team-efficiency-dashboard/overview.md renamed to docs-aspnet/getting-started-mvc/build-team-efficiency-dashboard/overview.md

Lines changed: 10 additions & 10 deletions

docs-aspnet/html-helpers/data-management/grid/binding/custom-datasource.md

Lines changed: 0 additions & 1 deletion

docs-aspnet/html-helpers/data-management/listview/binding/custom-datasource.md

Lines changed: 0 additions & 1 deletion

docs-aspnet/html-helpers/navigation/bottomnavigation/appearance.md

Lines changed: 212 additions & 19 deletions

docs/knowledge-base/dojo-snippets-list-faq.md

Lines changed: 2 additions & 2 deletions

src/kendo.numerictextbox.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,7 @@ var __meta__ = {
387387

388388
focus: function() {
389389
this._focusin();
390+
this.selectValue();
390391
},
391392

392393
_adjust: function(value) {

tests/numerictextbox/api.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,17 @@
458458
}, 200);
459459
});
460460

461+
it("focus method should select the text when selectOnFocus is enabled", function(done) {
462+
var textbox = new NumericTextBox(input, { selectOnFocus: true, value: 15 });
463+
464+
textbox.focus();
465+
466+
setTimeout(function() {
467+
assert.equal(input[0].value.substring(input[0].selectionStart, input[0].selectionEnd), "15");
468+
done();
469+
}, 100);
470+
});
471+
461472
it("on blur should hide input text", function() {
462473
var textbox = new NumericTextBox(input);
463474

0 commit comments

Comments
 (0)