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

Clicking on color picker causes a form submit #162

Closed
elipp opened this issue Oct 11, 2022 · 2 comments
Closed

Clicking on color picker causes a form submit #162

elipp opened this issue Oct 11, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@elipp
Copy link

elipp commented Oct 11, 2022

I'm currently working on integrating this to a Django admin view, and I noticed that clicking on the colored square on the color picker widget causes the form "submit" action to be issued, reloads the page etc.

If this is a feature, I'd love to know how to disable it. Thanks!

@josdejong josdejong added the bug Something isn't working label Oct 11, 2022
@josdejong
Copy link
Owner

Thanks for reporting. This is a bug, this button is missing a type="button" attribute.

@josdejong
Copy link
Owner

This issues is fixed now in v0.7.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants