Skip to content

[Select/InputMenu]: Focus via label not working inside FormField #4690

@calmyournerves

Description

@calmyournerves

Environment

  • Operating System: Linux
  • Node Version: v20.12.0
  • Nuxt Version: -
  • CLI Version: 3.27.0
  • Nitro Version: -
  • Package Manager: [email protected]
  • Builder: -
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Is this bug related to Nuxt or Vue?

Vue, Nuxt probably too

Version

v3.3.0

Reproduction

https://codesandbox.io/p/devbox/autumn-fog-8l524s

Description

When nesting Select or InputMenu inside a FormField, clicking the label does not focus/open the input. Interestingly, it does work as expected for SelectMenu. See reproduction for examples.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriagev3#1289

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions