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

Doc.ValidateButton reloads the page. Not consistent behaviour with Doc.Button #3

Open
semuserable opened this issue Jul 4, 2017 · 0 comments

Comments

@semuserable
Copy link

semuserable commented Jul 4, 2017

I assumed that Doc.ValidateButton works as Doc.Button from UI.Next, but I was wrong. It constantly updates the page after click event. I resolved the problem adding the following attribute attr.``type`` "button". Was this behaviour made intentionally?

UPDATE

Ok, I understand that <button> defaults to submit type when placed in form. Nonetheless, maybe to explicitly add type='button'?

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

1 participant