I made a nested structure field for links which allows the client to separate links with subtitles:
sections:
linksection:
type: fields
fields:
links:
type: structure
fields:
titel:
label: Subtitle
type: text
width: 1/4
linkcontent:
label: Links
type: structure
fields:
linktitle:
label: Link Text
type: text
help: optional
link:
label: Link URL
type: link
options:
- url
width: 3/4
However, when I added a new “link-section” in the panel, set the subtitle in the now opened “structure-overlay” and click now on the “linkcontent” structure to add a new link entry, the panel crashes and the JS console spits this error:
index.min.js:1 DOMException: Failed to execute 'setAttribute' on 'Element': '0' is not a valid attribute name.
at Oo (http://site.test/media/panel/e665caf5a91ebe9e287226a3dade0d69/js/vue.min.js:11:55446)
at So (http://site.test/media/panel/e665caf5a91ebe9e287226a3dade0d69/js/vue.min.js:11:55185)
at Array.ko (http://site.test/media/panel/e665caf5a91ebe9e287226a3dade0d69/js/vue.min.js:11:54761)
at y (http://site.test/media/panel/e665caf5a91ebe9e287226a3dade0d69/js/vue.min.js:11:69160)
at p (http://site.test/media/panel/e665caf5a91ebe9e287226a3dade0d69/js/vue.min.js:11:68739)
at http://site.test/media/panel/e665caf5a91ebe9e287226a3dade0d69/js/vue.min.js:11:68101
at d (http://site.test/media/panel/e665caf5a91ebe9e287226a3dade0d69/js/vue.min.js:11:68340)
at m (http://site.test/media/panel/e665caf5a91ebe9e287226a3dade0d69/js/vue.min.js:11:68916)
at d (http://site.test/media/panel/e665caf5a91ebe9e287226a3dade0d69/js/vue.min.js:11:68454)
at a.__patch__ (http://site.test/media/panel/e665caf5a91ebe9e287226a3dade0d69/js/vue.min.js:11:72459)
This is very strange, because I have the exact same field on another page blueprint where it works as it should.
Any help?