Skip to content

Binding class with null value no longer work #1501

@deraw

Description

@deraw

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions