Skip to content

Commit 6445b67

Browse files
committed
fix(CDatePicker, CDateRangePicker): prevent inserting new component instances during the update
1 parent 14ef299 commit 6445b67

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

js/src/date-range-picker.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,7 @@ class DateRangePicker extends BaseComponent {
310310
this._endDate = this._config.endDate
311311
this._selectEndDate = this._config.selectEndDate
312312

313+
this._element.innerHTML = ''
313314
this._createDateRangePicker()
314315
this._createDateRangePickerCalendars()
315316
this._addEventListeners()

0 commit comments

Comments
 (0)