core icon indicating copy to clipboard operation
core copied to clipboard

Relations to a localized contenttype field do not show up in the back-end

Open Sander-Hub opened this issue 2 years ago • 3 comments

Relations to a localized contenttype field do not show up in the back-end

relations:
    tentoonstellingen:
        multiple: false
        order: title
        label: Hoort bij een tentoonstelling?

If the contenttype field is localized it is not possible to select the item from the dropdown selection in the backend

Capture_relations_empty

If the contentype field is not localized

tentoonstellingen:
    name: Tentoonstellingen
    singular_name: Tentoonstelling
    fields:
        title:
            type: text
            class: large
            group: content
            # localize: true

the relation shows up in the list

Capture_relations_working

Details

Question Answer
Relevant Bolt Version 5.0.6
PHP version 7.3
Web server symfony CLI
Database Distrib 10.3.31-MariaDB

Sander-Hub avatar Nov 12 '21 14:11 Sander-Hub

I had the same problem and it seemed like I fixed it by adding the right indentation.

This is the change I made and now it works for me. Screenshot 2021-11-12 at 15 10 14

Joossensei avatar Nov 12 '21 14:11 Joossensei

The indentation is correct otherwise I would not be able to see the relations of a non-localized field. But thanks for the help.

Sander-Hub avatar Nov 12 '21 14:11 Sander-Hub

Hi @Sander-Hub,

do you still have this issue? Could you update Bolt and retry again?

For me it works on 5.0.7 and higher.

nestordedios avatar Jun 20 '22 15:06 nestordedios