We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edf5f79 commit 0ed2711Copy full SHA for 0ed2711
app/code/Magento/Ui/view/base/web/js/lib/knockout/bindings/datepicker.js
@@ -35,7 +35,9 @@ define([
35
init: function (el, valueAccessor) {
36
var config = valueAccessor(),
37
observable,
38
- options = defaults;
+ options = {};
39
+
40
+ _.extend(options, defaults);
41
42
if (typeof config === 'object') {
43
observable = config.storage;
@@ -61,9 +63,11 @@ define([
61
63
update: function (element, valueAccessor) {
62
64
65
- options = defaults,
66
+ options = {},
67
newVal;
68
69
70
71
72
73
_.extend(options, config.options);
0 commit comments