Skip to content

Allow use of the enter key for password input for code-server #479

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

Merged
merged 6 commits into from
Apr 12, 2019

Conversation

nol166
Copy link
Contributor

@nol166 nol166 commented Apr 10, 2019

Describe in detail the problem you had and how this PR fixes it

Accept enter in addition to clicking the submit button on the code-server login page.

Is there an open issue you can link to?

#478

@nol166 nol166 requested a review from code-asher April 10, 2019 15:20
@nol166 nol166 requested a review from kylecarbs as a code owner April 10, 2019 15:20
@code-asher
Copy link
Member

Could we use a regular form instead? Then enter would just work as expected. It feels slightly odd to me to re-implement form logic in JavaScript.

@code-asher code-asher merged commit db57aa2 into master Apr 12, 2019
@code-asher code-asher deleted the accept-enter-login branch April 12, 2019 15:35
code-asher pushed a commit that referenced this pull request Jun 19, 2019
* Allow use of the enter key for password input for code-server

* Remove function, make html form

* Remove function and create html form

* Handle form submit action

* Remove button listener

* Check if form exists
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants