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

Multiple submit buttons #434

Open
smathy opened this issue Jul 20, 2015 · 3 comments
Open

Multiple submit buttons #434

smathy opened this issue Jul 20, 2015 · 3 comments

Comments

@smathy
Copy link

smathy commented Jul 20, 2015

When used with multiple submit buttons, clicking one button activates the text of all buttons - which is rarely what you want.

There are workarounds, like this one which remove the text and just disable other buttons. I wonder if there are any use cases where that doesn't make sense?

@killerham
Copy link

I've just run into an issue where all the buttons don't become enabled again after the ajax has finished loading the request...

Edit: obviously solution was to not disable the buttons!

@DavidVII
Copy link

I've run into this issue as well. There's another workaround here, but unfortunately it doesn't work on remote: true forms.

Is there any interest in changing behavior so that only the clicked button changes text while others only get disabled?

@stuarthannig
Copy link

It's an edge case I've ran into as well. Although, I wouldn't really call it an edge case as I think having multiple buttons in a form is relatively common. Not the majority, but not an edge - either.

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

No branches or pull requests

4 participants