carbon-design-system / carbon-components-vue

Vue implementation of the Carbon Design System
http://vue.carbondesignsystem.com
Apache License 2.0
608 stars 178 forks source link

<cv-date-picker> ReferenceError: Cannot access 'props' before initialization #1549

Closed krko12345 closed 8 months ago

krko12345 commented 11 months ago

CvDatePicker is throwing error during execution:

image

Seems like it is related to these lines:

image

If modified the @carbon/.../CvDatePicker.vue component, and move the highlighted lines behind the 'props' object definition, then it works fine. Can you please fix this asap in the package?

davidnixon commented 9 months ago

The change makes sense but I cannot reproduce the error. My editor also thinks its an issue: image

davidnixon commented 8 months ago

Fixed in 3.0.12