Skip to content

Attribute 'is' is not working as described in documentation #3934

@Dalisra

Description

@Dalisra

Version

3.1.1

Reproduction link

https://codepen.io/GuruVytautas/pen/WNpgZmL

Steps to reproduce

If following codepen uses vue version 3.0.11 labels are beeing displayed correctly

https://codepen.io/GuruVytautas/pen/WNpgZmL

However if you change version to latest or starting from 3.1.0 "is" attribute will replace the current component instead of beeing sent as property to the component.

Documentation: https://v3.vuejs.org/api/special-attributes.html#is

What is expected?

Custom component should be rendered with "is" attribute sent inn as property.

What is actually happening?

Custom component is beeing replaced with what is defined in "is" attribute.


Not sure if documentation is outdated and it is working as intented, or some changes in 3.1.0 triggered a bug.
Release notes: https://github.com/vuejs/vue-next/releases/tag/v3.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    ❗ p4-importantPriority 4: this fixes bugs that violate documented behavior, or significantly improves perf.🐞 bugSomething isn't workingscope: v2 compat

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions