nathanreyes / v-calendar

An elegant calendar and datepicker plugin for Vue.
https://vcalendar.io
MIT License
4.32k stars 840 forks source link

Deprecation Warning #1477

Open BEJIbXEOP opened 3 weeks ago

BEJIbXEOP commented 3 weeks ago

Hi, I received this warning for version 3.1.2:

[Vue warn]: (deprecation ATTR_FALSE_VALUE) Attribute "aria-disabled" with v-bind value `false` will render aria-disabled="false" instead of removing it in Vue 3. To remove the attribute, use `null` or `undefined` instead. If the usage is intended, you can disable the compat behavior and suppress this warning with:

  configureCompat({ ATTR_FALSE_VALUE: false })

  Details: https://v3-migration.vuejs.org/breaking-changes/attribute-coercion.html 
  at <CalendarSlot name="day-content" day= {locale: Locale, id: '2024-04-28', position: 1, label: '28', ariaLabel: 'Sunday, Apr 28, 2024', …} attributes= []  ... > 
  at <Anonymous key="2024-04-28" day= {locale: Locale, id: '2024-04-28', position: 1, label: '28', ariaLabel: 'Sunday, Apr 28, 2024', …} > 
  at <CalendarPage> 
  at <CalendarSlot name="page" page= {id: '2024-05', month: 5, year: 2024, monthTitle: 'May 2024', shortMonthLabel: 'May', …} > 
  at <CalendarPageProvider key="2024-05" page= {id: '2024-05', month: 5, year: 2024, monthTitle: 'May 2024', shortMonthLabel: 'May', …} > 
  at <BaseTransition onBeforeEnter=fn<onBeforeEnter> onAfterEnter=fn<onTransitionAfterEnter> appear=false  ... > 
  at <Transition name="vc-fade" onBeforeEnter=fn<onTransitionBeforeEnter> onAfterEnter=fn<onTransitionAfterEnter> > 
  at <Anonymous key=1 attributes= [{…}] ref_key="calendarRef"  ... > 
  at <DatePickerBase > 
  at <BaseTransition onBeforeEnter=fn<onBeforeEnter> onAfterEnter=fn<afterEnter> onBeforeLeave=fn<beforeLeave>  ... > 
  at <Transition name="vc-slide-fade" appear="" onBeforeEnter=fn<beforeEnter>  ... > 
  at <Anonymous id= Symbol() placement="bottom-start" class="vc-date-picker-content vc-blue vc-light"  ... > 
  at <DatePickerPopover > 
  at <Anonymous modelValue= {start: Sun May 05 2024 13:38:35 GMT+0300 (Moscow Standard Time), end: Wed Jun 05 2024 13:38:35 GMT+0300 (Moscow Standard Time)} onUpdate:modelValue=fn modelModifiers= {range: true}  ... > 
  at <DateRangeCommonSelect modelValue= (2) [Sun May 05 2024 13:38:35 GMT+0300 (Moscow Standard Time), Wed Jun 05 2024 13:38:35 GMT+0300 (Moscow Standard Time)] onUpdate:modelValue=fn > 
  at <BreakdownsCommon onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< Proxy(Object) {updateStats: ƒ, …} > > 
  at <RouterView> 
  at <App>