Since 1.8.0 update, selected media via the pagemediaselect
form field in admin is disappearing shortly after page load in admin. Media has to be reselected every time the page is opened in admin otherwise it gets removed from page frontmatter on page save. My blueprint:
header.cards:
name: Cards
type: list
style: vertical
label: Cards
fields:
.image:
type: pagemediaselect
label: Image
Seems to happen outside of list
as well. My temporary workaround is to use text
instead of pagemediaselect
.
As this field did receive some changes in the last release, it could be a new issue. I've asked @w00fz to take a look. Cheers!
I've just found the same issue with the filepicker field.
The filename shows up for a like a second when the page loads and then goes blank even though its clearly there in the frontmatter. I thought was going crazy...
This is most likely an issue I introduced while fixing other issues with the select field (which the filepicker field extends).
I’ll take care of this ASAP, sorry about that.
This is now sorted in the form plugin!
Same problem here with the filepicker field
Most helpful comment
This is now sorted in the form plugin!