Skip to content

fix: Hitting enter doesn't submit in FluentCombobox #2726

@JamesNK

Description

@JamesNK

🐛 Bug Report

Hitting enter key when focus is inside a FluentCombobox doesn't submit the form.

💻 Repro or Code Sample

🤔 Expected Behavior

I would expect that hitting enter would close the combobox if it is open (and change the value if an option is selected on enter).
I would then expect that hitting enter again (while combobox is closed) would submit the form.

😯 Current Behavior

Nothing happens.

💁 Possible Solution

🔦 Context

🌍 Your Environment

  • OS & Device: [e.g. MacOS, iOS, Windows, Linux] on [iPhone 7, PC]
  • Browser [e.g. Microsoft Edge, Google Chrome, Apple Safari, Mozilla FireFox]
  • .NET and Fluent UI Blazor library Version [e.g. 8.0.2 and 4.4.1]

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions