core
core copied to clipboard
Localization bug - When any one field in a set is localized this causes image 'widget' to no longer display the image
Hi there,
Take the following set:
The set in the contenttypes.yaml (contenttype pages
) looks like this:
testset:
type: set
label: TestSet
fields:
title:
type: text
label: Textveld
# localize: true
image:
type: image
label: Afbeelding
The contenttype in this case also has two locales like so locales: ['nl', 'en']
Let say we want to localize only the text field.
This results in the disappearance of the image in the non-default locale, even though the image field is not localized!
One would expect the image to be there in the other locale, as the field is not localized.
| Relevant Bolt Version | 5.1.18 | Install type | Composer install | PHP version | 7.4 | Web server | Symfony