Skip to content

Keep focus after completing input #79

Open
@a-bradaric

Description

@a-bradaric

Hi,

great app, love using it!

I'm wondering if it's possible to remain focused on the input after putting in the last number/character. The use case I have is that I'm wrapping the control inside a form and using (ngSubmit) to trigger a button's submit action, essentially enabling the users to utilize their enter buttons.
However, that only works if the input remains focused.

Is there a property I'm missing here? Or do I need a custom solution?

Edit:
The solution I'm currently using is to listen to the complete event and then programmatically focus the code input field thus enabling ngSubmit. I reckon that's probably the way to go.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions