Skip to content

v-bind:class with array doesn't remove classes #1458

@posva

Description

@posva

Hello,

When using an array in a v-bind:class attribute, classes are not removed from the element when they get removed from the array: http://jsfiddle.net/posva/ndnee02g/2/

Use the inspector to check the classes on the p element. Check a checkbox and then uncheck it. Classes remain in the element.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions