Multiselect - How to enabled ? #689
Unanswered
nikitakofman
asked this question in
Q&A
Replies: 1 comment 1 reply
-
By default, you need to hold down the meta key (the Command key on MacOS) and click to select multiple elements. On Windows, the meta key is the Windows key, so you probably want to change it: handlers={(store) =>
new CustomEventHandlers({
store,
isMultiSelectEnabled: (e) => !!e.ctrlKey, // activate when Control key is pressed
})
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I've seen in the documentation that from the 0.2 version the multiselect was implemented.
I am not finding how to activate it, i've tried:
handlers={(store) =>
new CustomEventHandlers({
store,
isMultiSelectEnabled: () => true,
removeHoverOnMouseleave: true,
})
}
In the editor, but it does nothing.
Thanks in advance for your help !
Beta Was this translation helpful? Give feedback.
All reactions