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

[KEYCLOAK-2121] Adding user or group attributes using ENTER key deletes first attribute #1848

Merged
merged 1 commit into from Nov 25, 2015

Conversation

girirajsharma
Copy link
Contributor

The reason is because a button inside a form has it's type implicitly set to submit. The first button or input with type="submit" is what is triggered when enter key is pressed. If we specifically set type="button", then it's removed from consideration by the browser.

@girirajsharma girirajsharma changed the title Adding user or group attributes using ENTER key deletes first attribute [KEYCLOAK-2121] Adding user or group attributes using ENTER key deletes first attribute Nov 22, 2015
patriot1burke added a commit that referenced this pull request Nov 25, 2015
[KEYCLOAK-2121] Adding user or group attributes using ENTER key deletes first attribute
@patriot1burke patriot1burke merged commit 4f401c7 into keycloak:master Nov 25, 2015
@girirajsharma girirajsharma deleted the KEYCLOAK-2121 branch December 21, 2015 18:24
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.

None yet

2 participants