View with contextual filter just show last result in webform select

Created on 9 May 2023, almost 2 years ago

Hi! I am getting mad with this. Someone can help me? It's on Drupal 7.

I have 2 content types. Content type A have a field of type "Entity Reference" where I can select several nodes of Content type B, using an "Inline entity form - Multiple values".

I also have a view with entityreference display. The view have a relationship using the entity reference field in A and a contextual filter by Nid. The results of the view, works properly when I put the Nid of content type A in the preview of the contextual filters and show me as many results of content type B as related.

I also have a webform where added a Node Reference field. Field type is "select list" and I selected the entityreference display of the view. In arguments to pass to the view, I put the token of the Nid used as contextual filter in the view (the Nid of Content type A)

The problem came here. When I see the webform as a client, I can select just the last result of the view. The others doesn't appear despite in the view the results are ok.

There is something I am missing? Any clue is welcome! Thank you in advance!

💬 Support request
Status

Active

Version

1.9

Component

User interface

Created by

🇪🇸Spain CisaWeb

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024