Skip to content

Commit 0142db1

Browse files
committed
Support question focusCallback for jquery date-picker
1 parent 77f6680 commit 0142db1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/jquery-ui-datepicker.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@ function init(Survey, $) {
138138
question.readOnlyChangedCallback = function () {
139139
$el.datepicker("option", "disabled", question.isReadOnly);
140140
};
141+
question.focusCallback = function () {
142+
$el.focus();
143+
};
141144
function updateDate() {
142145
if (!question.isEmpty()) {
143146
var val = question.value;

0 commit comments

Comments
 (0)