Skip to content
Grav 2.0 is officially stable. Read the announcement →
Support

Pre-filled form with images media

Started by Matthieu Sartenaer 9 years ago · 0 replies · 578 views
9 years ago

Hi Holks ! I'm really new in Grav's world but already in love 🙂

Here is my concern, I have a blueprint form :

title: Gallery
'@extends':
type: default

form:
fields:
tabs:
type: tabs
active: 1
fields:
images:
type: tab
title: Images
fields:
header.images:
name: images
type: list
label: Images
fields:
.full:
type: filepicker
folder: '@self'
preview_images: true
label: Select a file

All is fine with that but I would like to have this form in admin pre-filled with all images in media... is it possible?

Maybe use data-default@ and data-options@ could be the trick but don't know how to use it 😕

Thank you for your help !

Matthieu

Suggested topics

Topic Participants Replies Views Activity
Support · by Anna, 19 hours ago
1 56 12 hours ago
Support · by gtx, 1 week ago
4 229 2 days ago
Support · by Paul Hodges, 2 weeks ago
13 277 5 days ago
Support · by Anna, 3 weeks ago
9 335 1 week ago
Support · by TomW, 2 weeks ago
4 189 2 weeks ago