getgrav / getgrav/grav-plugin-admin

[Blueprint] Can't detect file destination if the file field wrapped with fieldset under list field.

Open
#1,786 1 comment 0 reactions 1 assignee Claimed by @mahagr View on GitHub
bug
Dominant language
PHP
Stars
377
Forks
225
Avg merge
11h 51m
Merged PRs (30d)
4

Description

--- YAML File

```yaml
'@extends': default
form:
fields:
tabs:
fields:
content:
fields:
header.media_order:
unset@: true
header.test1:
type: list
fields:
.photo:
type: fieldset
title: Photo
fields:
.imagetitle:
type: text
label: Image Title
.imagefield:
label: Photo
type: file
style: vertical
destination: 'self@'
limit: 1
multiple: false
accept:
- image/*
.video:
type: fieldset
title: Video
fields:
.videotitle:
type: text
label: Video Title
.videourl:
type: text
label: Video URL
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.