Skip to content

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

Merged
code-asher merged 6 commits into
masterfrom
accept-enter-login
Apr 12, 2019
Merged

Allow use of the enter key for password input for code-server#479
code-asher merged 6 commits into
masterfrom
accept-enter-login

Conversation

@nol166

@nol166 nol166 commented Apr 10, 2019

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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.

Comment thread packages/app/browser/src/app.ts Outdated
Comment thread packages/app/browser/src/app.ts Outdated
@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