Skip to content

Fix an error with ElementSelect JS for selectable = false#14873

Merged
brandonkelly merged 1 commit intocraftcms:5.xfrom
engram-design:patch-16
Apr 26, 2024
Merged

Fix an error with ElementSelect JS for selectable = false#14873
brandonkelly merged 1 commit intocraftcms:5.xfrom
engram-design:patch-16

Conversation

@engram-design
Copy link
Copy Markdown
Contributor

When this.settings.selectable = false a JS error will be thrown when removing the element.

Cannot read properties of undefined (reading 'length')

@brandonkelly brandonkelly merged commit 92d9628 into craftcms:5.x Apr 26, 2024
@brandonkelly
Copy link
Copy Markdown
Member

Thanks!

@brandonkelly
Copy link
Copy Markdown
Member

Craft 5.0.6 is out now with that fix. Thanks again!

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

Successfully merging this pull request may close these issues.

2 participants