This is a migrated thread and some comments may be shown as answers.

Multiselect Keyboard Navigation

2 Answers 192 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Moises
Top achievements
Rank 1
Moises asked on 21 Nov 2018, 04:07 PM

I would like to implement the Ctrl+A and Shift+Up Arrow/Down Arrow functionality that is available on the jQuery version of the Multiselect widget.

It seems as though the native React Multiselect widget does not support any props for key presses. Is there a way to handle key press events in the Multiselect? Or, is there are any plan to add the Ctrl+A and Shift+Up Arrow/Down Arrow functionality?

2 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 22 Nov 2018, 10:40 AM
Hello, Moises,

Currently, this could be achieved only by handling the KeyDown events and modifying the values state programmatically.

I made an example demonstrating an approach how this could be achieved:

https://stackblitz.com/edit/react-2vbb9d?file=app/main.js

As for making this a built-in feature, I can suggest making a feature request as this will allow more people to vote for it and it will increase its chances:

https://feedback.telerik.com/kendo-react-ui

Regards,
Stefan
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Moises
Top achievements
Rank 1
answered on 29 Nov 2018, 03:53 PM
Thank you we will give this a try.
Tags
General Discussions
Asked by
Moises
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Moises
Top achievements
Rank 1
Share this question
or