Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Remove submitting on enter in vote form #840

Closed
ginacontrino opened this issue Oct 6, 2017 · 2 comments
Closed

Remove submitting on enter in vote form #840

ginacontrino opened this issue Oct 6, 2017 · 2 comments
Assignees

Comments

@ginacontrino
Copy link
Contributor

Expected behaviour

When we want to add or remove a vote for a delegate, it should not be possible that the form submits on enter. Only the specific click action on "confirm" should submit the form.

Actual behaviour

Currently, when selecting a delegate and pressing enter, the entire form submits.

Steps to reproduce

  • Go to "vote"
  • Search for a delegate in "Add vote to" or "Remove vote from" and select a delegate
  • press enter -> the selected delegate is added and the form submits in the same step
@alepop
Copy link
Contributor

alepop commented Oct 6, 2017

My bad. Did not check it for this case when made this #791

@slaweet
Copy link
Contributor

slaweet commented Oct 6, 2017

I think it's my bad, @alepop. I specifically asked for this in vote dialog in #755 without thinking too much about the consequences.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants