Hi
I'm actually build a site with some modules in modules (Home > Module > Submodule).
For one of these submodules I created an blueprint with Image upload:
YAML
title: Boxes
@extends: default
form:
fields:
tabs:
fields:
box:
type: tab
title: Box
fields:
header.box:
name: box
type: list
label: Box
fields:
.title:
type: text
label: Title
.text:
type: editor
label: Content
.picture:
type: file
label: Picture
destination: '@self'
accept:
- image/*
This blueprintlayout normally works fine, but in the submodules the image upload doesn't work properly. It upload the image in the submodule, but it does not generate the correct frontmatter in the submodule, just an empty
picture: { }
entry.
I use Grav v1.7.0-rc.10
Maybe someone has an idea 🙂
Thanks for help.