Posted yesterday, but the post was a mes... Let me explain better:
I have this configuration for a multi file inside a list:
header.imageslist:
name: imagelist
type: list
style: vertical
fields:
.images:
type: file
style: vertical
destination: ‘@self/images’
multiple: true
accept:
– image/*
validate:
type: array
.title:
type: text
style: vertical
label: Title
validate:
type: array
---
After adding a title and 1 image, I open the md file and I get:
imageslist:
title: ‘Test’
images:
user/pages/01.Test/mars/images/mars.jpeg
name: mars.jpeg
type: image/jpeg
size: 53984
path: user/pages/01.Test/mars/images/mars.jpeg
But, after re-saving the file, the admin page is frozen (cannot scroll on this tab), and after opening the md file again, I see this:
imageslist:
title: ‘Test’
images:
user/pages/01.Test/mars/images/mars.jpeg:
– mars.jpeg
– image/jpeg
– ‘53984’
– user/pages/01.Test/mars/images/mars.jpeg
Notice that in the first case, the items of the file contains a <name>:<value> and in the second case, the name is missing and are listed as a list, and of course, it cannot be opened and cannot work with this file. How I can handle with this?