Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Binding class with `null` value no longer work #1501
Comments
I can't reproduce this - I ran |
@lmiller1990 Thanks for your reply! I should have pointed to this version https://github.com/assurance-maladie-digital/design-system/blob/7088316c095cd7e58f19d0ee3d2915ae6ba595a2/packages/vue-dot/src/patterns/FileList/FileList.vue in which the code has not updated, sorry! |
Hey thanks. I can try and look this week! Did you figure a fix/workaround yet? |
@lmiller1990 Thank you for taking the time for this! As a workaround I'm returning an empty string instead of |
^ this would probably be a good way to fix it in this library too; figure out where the null is raising an issue and return a |
Version
1.0.0-beta.33
Reproduction link
https://github.com/assurance-maladie-digital/design-system/blob/dev/packages/vue-dot/src/patterns/FileList/FileList.vue
Steps to reproduce
Mount a component with
:class="null"
What is expected?
No errors
What is actually happening?
An error occurs:
[Vue warn]: Error in render: "TypeError: Cannot convert undefined or null to object"
This was working on previous version
(Sorry I couln't find a boilerplate to provide a minial reproduction, I linked the file where I'm getting the error)