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

Image extensions property not always working inside set inside collection #1555

Closed
I-Valchev opened this issue Jun 25, 2020 · 0 comments · Fixed by #1571
Closed

Image extensions property not always working inside set inside collection #1555

I-Valchev opened this issue Jun 25, 2020 · 0 comments · Fixed by #1571
Labels
🐛 tag: bug This is a bug.

Comments

@I-Valchev
Copy link
Member

For some reason, the extensions setting of an image does not always work when the image is inside a set that is inside a collection.

Example output:

@bolt/_partials/fields/image.html.twig line 23
"collections[content][picture_story][1][image]"
@bolt/_partials/fields/image.html.twig line 109
Bolt\Configuration\Content\ContentType {#265 ▼
  #items: array:5 [▼
    0 => "gif"
    1 => "jpg"
    2 => "jpeg"
    3 => "png"
    4 => "svg"
  ]
}
@bolt/_partials/fields/image.html.twig line 23
"collections[content][picture_story][2][image]"
@bolt/_partials/fields/image.html.twig line 109
[]

The 2nd one should not be empty. It should be the same as the first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 tag: bug This is a bug.
Projects
None yet
1 participant