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 228228 // 'Date Pickers components' example in docs only
229229
230230 if ( document . getElementById ( 'myDatePickerDisabledDates' ) ) {
231- const optionsDatePickerDisabledDates = {
231+ // eslint-disable-next-line no-unused-vars
232+ const myDatePickerDisabledDates = new coreui . DatePicker ( document . getElementById ( 'myDatePickerDisabledDates' ) , {
232233 locale : 'en-US' ,
233234 calendarDate : new Date ( 2022 , 2 , 1 ) ,
234235 disabledDates : [
239240 ] ,
240241 maxDate : new Date ( 2022 , 5 , 0 ) ,
241242 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+ } )
245244 }
246245
247246 // -------------------------------
You can’t perform that action at this time.
0 commit comments