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

[5.0]: JS error in element index - Double-instantiating a checkbox select on an element #14707

Closed
thupsi opened this issue Mar 27, 2024 · 4 comments
Assignees
Labels

Comments

@thupsi
Copy link

thupsi commented Mar 27, 2024

What happened?

Description

When navigating in any element index there is an error in the console:
CheckboxSelect.js:18 Double-instantiating a checkbox select on an element

Craft CMS version

5.0.0

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@i-just
Copy link
Contributor

i-just commented Mar 27, 2024

Hi, thanks for reporting! This should be harmless, but I've raised a PR to prevent it from happening.

@thupsi
Copy link
Author

thupsi commented Mar 27, 2024

Thanks, I have another issue that maybe is related to this one, so I'm waiting for this fix to test further.

@brandonkelly
Copy link
Member

That’s fixed for the next 4 and 5 releases.

You can pull the fix in early by changing your craftcms/cms requirement to 5.x-dev as 5.0.0 and running composer update.

@brandonkelly
Copy link
Member

Craft 4.8.7 and 5.0.1 are out with that fix.

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

No branches or pull requests

3 participants