My config.yml
file has a collection that use the option “file”, and it shows some fields with simple text, no images. The collections has 3 fields: “A”, “B” and “C”. When I save the info and load the CMS UI, I can see that there are 3 fields with the label “C”, and inside each of them the info corresponds to the field “A” !!!
Seems pretty much a bug or there is something I am missing?
Here is the code
collections:
- name: "info"
label: "Información"
files:
- label: "A"
name: "info"
file: "/_config.yml"
fields:
- {label: Dirección, name: "location", widget: string}
- {label: Teléfono, name: "phone", widget: string}
- {label: Email, name: "email", widget: string}
- {label: Descripción, name: "description", widget: markdown}
- {label: Misión, name: "mision", widget: text}
- {label: Visión, name: "vision", widget: text}
- label: "B"
name: social
file: "/_config.yml"
fields:
- {label: Twitter, name: twitter, widget: string}
- {label: Facebook, name: facebook, widget: string}
- {label: Instagram, name: instagram, widget: string}
- {label: LinkedIn, name: linkedin , widget: string}
- label: "C"
name: "insefo"
file: "/_config.yml"
fields:
- {label: Dirección, name: "location", widget: string}
- {label: Teléfono, name: "phone", widget: string}
- {label: Email, name: "email", widget: string}
- {label: Descripción, name: "description", widget: markdown}
- {label: Misión, name: "mision", widget: text}
- {label: Visión, name: "vision", widget: text}
Attached is the screenshot of the UI where you can see the problem.