Skip to content

Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()? #4

@matheusmfl

Description

@matheusmfl

Estou tendo esse problema ao utilizar esse código de formulário:
Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?

Já tentei diversas coisas, mas todas sem sucesso, alguém sabe o que esse error quer dizer? estou usando NextJS na V14.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions