Skip to content

Commit 9906139

Browse files
committed
Fixed https://surveyjs.answerdesk.io/ticket/details/T1848 - config shouldn't be shared between instances
1 parent 7845c96 commit 9906139

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jquery-ui-datepicker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function init(Survey, $) {
3535
? $(el)
3636
: $(el).find(".widget-datepicker");
3737
var isSelecting = false;
38-
var config = question.config || {};
38+
var config = $.extend(true, {}, question.config || {});
3939
if (!!question.placeHolder) {
4040
$el.attr("placeholder", question.placeHolder);
4141
}

0 commit comments

Comments
 (0)