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

Make accordion work in Django form #1733

Closed
wants to merge 2 commits into from

Conversation

marwahaha
Copy link
Contributor

@marwahaha marwahaha commented Oct 29, 2020

fixes #1723

The accordion worked fine when I copied the HTML into a JSFiddle. I noticed that triggering the "collapse" function in JavaScript allowed the accordion to work again.

It seems that the field was hidden intentionally for the pre-filled group name. I removed that in light of #1723.

Hopefully I did this correctly!

Unfortunately, I'm not sure the best way to test for this behavior.

@pbanaszkiewicz pbanaszkiewicz added component: user interface (UI) javascript Pull requests that update Javascript code labels Nov 1, 2020
@pbanaszkiewicz pbanaszkiewicz added this to the v2.15 milestone Nov 1, 2020
Copy link
Contributor

@pbanaszkiewicz pbanaszkiewicz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @marwahaha, thank you for the pull request. I looked around and turns out the reason accordion doesn't work is old version of Bootstrap. I think upgrading to v4.5 branch should fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: user interface (UI) javascript Pull requests that update Javascript code type: bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pre-approved registration box does not expand
2 participants