Skip to main content

default_keymap

Function default_keymap 

Source
pub fn default_keymap() -> Keymap<Action>
Available on crate feature multi-combobox only.
Expand description

The default multi-select combobox shortcuts:

KeysAction
ArrowDownAction::Next
ArrowUpAction::Previous
EnterAction::Activate
EscapeAction::Close
BackspaceAction::RemoveLast

The combobox handles these itself while its field has focus or its list is open. Backspace only removes a chip while the query is empty, so it still deletes typed text. Pass a changed keymap with MultiCombobox::keymap.