Nesteditems control columns display

Hello,

I have the following tailor blueprint :

uuid: e9c71a9b-ae14-4c76-b8ac-06c1e2b0198a
handle: Projets\Projets
type: stream
name: Projets
drafts: true
showExport: false
showImport: false

customMessages:
    buttonCreate: Ajouter un projet

primaryNavigation:
    label: Projets
    icon: ph ph-rocket-launch
    order: 510

navigation:
    icon: ph ph-rocket-launch
    parent: Projets\Projets
    order: 10

fields:
    title:
        label: Client
        placeholder: Nom du client
    subtitle:
        label: Sous-titre
        type: text
        tab: Infos
        validation: required
    categories:
        label: Catégories
        type: entries
        displayMode: taglist
        source: Projets\Categories
        span: auto
        tab: Infos
        validation: required
    secteurs:
        label: Secteurs
        type: entries
        displayMode: taglist
        source: Projets\Secteurs
        span: auto
        tab: Infos
        validation: required
    items:
        label: Sections
        type: nesteditems
        validation: required
        tab: Infos
        form:
            fields:
                categorie:
                    label: Catégorie
                    type: entries
                    maxItems: 1
                    displayMode: relation
                    source: Projets\Categories
                image:
                    label: Vignette
                    type: mediafinder
                    maxItems: 1
                    mode: image
                builder:
                    type: mixin
                    source: Projets\Builder
        customMessages:
            buttonCreate: Nouvelle section
            titleUpdateForm: Mise Ă  jour
            titleCreateForm: Créer une nouvelle section

Here is the result :

On the nested item “Sections”, I need to click on the “Vignette” field in order to open the popup. The “Identité visuelle” link open the related entry form.

I don’t want that behavior, I want to display the nested item popup if I click on the whole line, but I don’t see any informations on the documentation about how I can achieve this.

Thank you for your help

Best regards,

I am not sure, but I think you can disable the click on the related record which makes the whole row open the related entry form on click.

[...]
           fields:
                categorie:
                    label: Catégorie
                    type: entries
                    maxItems: 1
                    displayMode: relation
                    source: Projets\Categories
                    column:
                        clickable: false
[...]

Thank you for the reply.

Tested but it does not change anything

This is a bug. The entries field column partials render their own <a> links that navigate directly to the related entry’s edit page, bypassing the nesteditems popup handler entirely. The clickable: false column property only controls whether the cell wrapper adds a link; it has no effect on links rendered inside the partial content.

This has been fixed in the next release.

edit: Sorry I made a mistake and got this around the wrong way. If you want to disable the inline links, you should set it to clickable: true which makes the cell use the row’s link instead of the inner links (clickable: false).

fields:
    categorie:
        label: Catégorie
        type: entries
        maxItems: 1
        displayMode: relation
        source: Projets\Categories
        column:
            clickable: true # this should be TRUE
1 Like