ic-ui-kit icon indicating copy to clipboard operation
ic-ui-kit copied to clipboard

Add an onIcKeyDown event to the searchable select

Open GCHQ-Developer-847 opened this issue 1 year ago • 0 comments

Summary

Add an onIcKeyDown event to the searchable select which is emitted when the user presses a key.

💬 Description

The text field component has an onIcKeyDown event which a developer can use to determine what keys a user is pressing when the text field is focused, e.g. what characters are being inputted. It would be good to have the same event on a searchable select for the same reason.

💰 User value

It would make it more closely match the functionality available on the text field. Developers may want to use the information about which keys are being pressed to execute other functionality.

Additional info

Based on a customer request (for a way to determine what keys have been pressed on the searchable select).

GCHQ-Developer-847 avatar Oct 10 '24 10:10 GCHQ-Developer-847