List field inside a list field

Hi,

i’m editing my .yaml file from a template and I would like to add a list inside another one. I think my .yaml is good because it’s working on my back office.

My issue is that when I save the page, everything I contributed inside my child list disappears. Does anyone have an idea ?

Thank you very much

My .yaml :

header.composition:
  name: composition
  type: list
  style: vertical
  label: Composition des différentes bandes de la page projet
  fields:

    .background:
      type: select
      size: long
      classes: fancy
      label: Couleur de fond
      options:
        "#FFFFFF" : Blanc
        "#ececec" : Gris 1
        "#d8d8d8" : Gris 2
        "#aab1b6" : Gris 3

    .images:
      type: list
      style: vertical
      label: Liste d'images
      fields:
        uneImage:
          type: filepicker
          folder: '@self'
          label: Image
          preview_images: true
          accept:
            - .png
            - .jpg

Here’s a screenshot of my backoffice before and after saving :

Thank you for your help !

Ok…
So I just fixed it :
I forgot to add the “.” in my child list.

Thank you