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.
2 parents 8feda87 + a090073 commit 5bbdb5dCopy full SHA for 5bbdb5d
third-party/projects/alloy-ui/src/aui-datepicker/js/aui-datepicker.js
@@ -273,6 +273,8 @@ A.mix(DatePickerBase.prototype, {
273
274
instance.clearSelection(true);
275
276
+ instance._isInitializing = instance._isInitializing ?? true;
277
+
278
instance.selectDatesFromInputValue(instance.getParsedDatesFromInputValue());
279
},
280
@@ -334,6 +336,12 @@ A.mix(DatePickerBase.prototype, {
334
336
335
337
instance._setCalendarToFirstSelectedDate();
338
339
+ if (instance._isInitializing) {
340
+ instance._isInitializing = false;
341
342
+ return;
343
+ }
344
345
if (instance.get('autoHide') && (selectionMode !== 'multiple')) {
346
instance.hide();
347
0 commit comments