-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Labels
Description
Feature Request
Current State
Currently, with a searchable dropdown the input field is not focussed automatically, requiring an additional click to filter the values.
Request
Trigger focus() on input field when dropdown is opened to immediately allow filtering of value.
Workaround
😱
function onDropdownToggle(e: ToggleEvent) {
const input = (e.target as HTMLDetailsElement)
?.getElementsByTagName('article')?.[0]
?.getElementsByTagName('div')?.[0]
?.getElementsByClassName('db-input')?.[0]
?.getElementsByTagName('input')?.[0]
if (input) {
input.focus()
}
}
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
✅ Done