Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger associated submit button when "enter" pressed #71

Open
mitchhentges opened this issue May 25, 2019 · 1 comment
Open

Trigger associated submit button when "enter" pressed #71

mitchhentges opened this issue May 25, 2019 · 1 comment
Labels
c-enhancement New feature or request p-low Low Priority

Comments

@mitchhentges
Copy link
Contributor

When configuring inputs on a webpage, I can associate them with a form (which has a primary submit button). Then, when I click "enter" while any of those inputs are focused, then the submit button will automatically be triggered.

In my case, I've a couple inputs and a submit button:
Screenshot from 2019-05-25 18-36-38

I'd love to make it so hitting "enter" while the Entry is focused will cause the submit action 😄

@NoraCodes
Copy link
Collaborator

NoraCodes commented May 31, 2019

I don't think this is possible using libui itself at the moment, sorry! libui does have forms, which we will get soon, but no way to set a submit button. It's definitely something I'd like to have, though, so I'll leave the issue open.

@NoraCodes NoraCodes added c-enhancement New feature or request p-low Low Priority labels May 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c-enhancement New feature or request p-low Low Priority
Projects
None yet
Development

No branches or pull requests

2 participants