feat: support Enter key for creatable combobox options#88
Conversation
|
Wrong base branch. This targets Enter no longer selects existing options. The unconditional
Enter should only be intercepted when there's no highlighted item to commit; otherwise let it through. Not gated on
Minor:
Tests. Please add coverage — two cases would have caught the regression: (1) arrow to an existing option → Enter → asserts it's selected and nothing new is created; (2) type a new value → Enter → asserts the create action ran and the popover closed. Worth running the existing suite too, since Reviewed by Claude Code |
Added keyboard support for creatable comboboxes. Users can now press Enter to create and select a new option instead of having to click the "Create" action with the mouse. This improves accessibility and speeds up data entry while preserving the existing mouse-based behavior.