Skip to content

form menu item issue #1790

@LucasMobley

Description

@LucasMobley

What package within Headless UI are you using?
"@headlessui/react": "1.6.6"

What browser are you using?
Tested on Chrome and Safari

Reproduction URL - NA- in new private component library being built.

Describe your issue

I'm passing a form element as a menu item that has a method and a post request. (

Login) In the console I receive a error message "Form submission canceled because the form is not connected." I resolved this error by using the open boolean prop and setting the menu to static and toggling the menu to hidden or flex in tailwind. This works but seems like a workaround solution.
Thanks! - Lucas

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