Skip to content

Generic components - unable to set regular attrs #3436

@Ericlm

Description

@Ericlm

Hello there! I wanted to report that I'm unable to get my generic component accepting html attributes. More broadly, I can't pass any attribute that is not part of my props, otherwise I get the following type-checking issue :
Capture d’écran 2023-07-21 à 21 22 59
It does not work whether the inheritattrs option is true or false.

A repo with the issue is here.

Could you help me? Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already existsgood reproduction ✨This issue provides a good reproduction, we will be able to investigate it first

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions