Field from type webform_entity_checkboxes does not show proper options

Created on 5 August 2025, 11 days ago

Problem/Motivation

I configured a webform_entity_checkboxes element with views as "Reference method" (with token as view arguments) and with items formatter (checklist:boxes), which works in webform submission output but not via views.

Steps to reproduce

-

Proposed resolution

Pass webform_submission ID to element.

\Drupal\webform\Plugin\WebformElement\WebformEntityReferenceTrait::formatHtmlItems ->
\Drupal\webform\Plugin\WebformElement\WebformEntityReferenceTrait::setOptions

setOptions use the ID to load the webform submission and replaces the token.

Remaining tasks

-

User interface changes

-

API changes

-

Data model changes

-

🐛 Bug report
Status

Active

Version

5.0

Component

Code

Created by

🇩🇪Germany tobiasb Berlin

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024