Filter for Computed Token

Created on 9 February 2025, 2 months ago

Problem/Motivation

While trying to add a filter in a Webform View for a Computed Token (store value in the database) element, the configuration dialog does not open. The filter appears in the list, but no data is shown anymore in the view. It is not possible to edit the filter, configuration dialog does not open.
The following error is shown in the log messages:
Cannot use a scalar value as an array in Drupal\Core\Render\Element\RenderElementBase::preRenderAjaxForm() (line 315 of /web/core/lib/Drupal/Core/Render/Element/RenderElementBase.php).

Steps to reproduce

Drupal Core 11.1.2
Webform 6.3.0-beta1
Webform Views Integration 8.x-5.5
1. Create a webform, add a Computed token element (e.g. [webform_submission:user:email], store value),
2. Create a View, add a filter for the element above

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

5.5

Component

Code

Created by

🇷🇴Romania sorin_cocorada

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

Comments & Activities

Production build 0.71.5 2024