File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 228
228
// 'Date Pickers components' example in docs only
229
229
230
230
if ( document . getElementById ( 'myDatePickerDisabledDates' ) ) {
231
- const optionsDatePickerDisabledDates = {
231
+ // eslint-disable-next-line no-unused-vars
232
+ const myDatePickerDisabledDates = new coreui . DatePicker ( document . getElementById ( 'myDatePickerDisabledDates' ) , {
232
233
locale : 'en-US' ,
233
234
calendarDate : new Date ( 2022 , 2 , 1 ) ,
234
235
disabledDates : [
239
240
] ,
240
241
maxDate : new Date ( 2022 , 5 , 0 ) ,
241
242
minDate : new Date ( 2022 , 1 , 1 )
242
- }
243
- // eslint-disable-next-line no-unused-vars
244
- const myDatePickerDisabledDates = new coreui . DatePicker ( document . getElementById ( 'myDatePickerDisabledDates' ) , optionsDatePickerDisabledDates )
243
+ } )
245
244
}
246
245
247
246
// -------------------------------
You can’t perform that action at this time.
0 commit comments