Skip to content

Custom Hot Keys for Edit Text #2515

Closed
Closed
@TranquilAbyss

Description

@TranquilAbyss

Is your feature request related to a problem? Please describe.
I was trying to add an event to happen when EditText was selected and pressing the enter key. I would like it for more than just Edit Text since I may come up with other elements to create hotkeys for.

Describe the solution you'd like
It would help to expose the existing KeyPressEvents on UI Elements.

Describe alternatives you've considered

  1. Since the Key Press Events are not available I would have to capture a global key press and check every EditText to see which had focus.
  2. Or I would have to create a custom EditText class that provides access to the events.

Additional context
I am willing to create the PR myself, If there is any documentation that requires update, for changing an internal to a public class and event, let me know since I am new to how things get updated in this project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions