Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pagemediaselect - selection disappearing after page load #1441

Closed
danzinger opened this issue May 12, 2018 · 5 comments
Closed

pagemediaselect - selection disappearing after page load #1441

danzinger opened this issue May 12, 2018 · 5 comments
Assignees
Labels

Comments

@danzinger
Copy link

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.

@rhukster
Copy link
Member

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!

@CSixtyFour
Copy link

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...

@w00fz
Copy link
Member

w00fz commented May 13, 2018

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.

@w00fz
Copy link
Member

w00fz commented May 14, 2018

This is now sorted in the form plugin!

@sergixnet
Copy link

Same problem here with the filepicker field

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants