craftcms / cms

Build bespoke content experiences with Craft.
https://craftcms.com
Other
3.28k stars 634 forks source link

[5.x]: Can't save blocks on Globals (card view) - JS error #16182

Open olivierbon opened 1 day ago

olivierbon commented 1 day ago

What happened?

Getting a JS error when trying to save elements in element editor.

    i NestedElementManager.js:429
    f NestedElementManager.js:2
    E NestedElementManager.js:2
    I NestedElementManager.js:2
    n NestedElementManager.js:2
    o NestedElementManager.js:2
    i NestedElementManager.js:2
    i NestedElementManager.js:2
    onBeforeSubmit NestedElementManager.js:447
    t ElementEditorSlideout.js:159
    f ElementEditorSlideout.js:2
    E ElementEditorSlideout.js:2
    I ElementEditorSlideout.js:2
    n ElementEditorSlideout.js:2
    o ElementEditorSlideout.js:2
    i ElementEditorSlideout.js:2
    i ElementEditorSlideout.js:2
    handleSubmit ElementEditorSlideout.js:161
    addListener Base.js:162

https://github.com/user-attachments/assets/3c0e98ab-329e-4d82-95b4-975b776293e7

Files to replicate, credentials admin/password

Archive.zip

Craft CMS version

5.5.2

PHP version

8.3

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

none

i-just commented 8 hours ago

Thanks, Oli! I raised a PR for this.