Webform variants don't respect Computed Twig

Created on 11 August 2023, over 1 year ago
Updated 7 April 2024, 9 months ago

Problem/Motivation

If you create a Computed Twig field, and change the Twig template in a variant, the value will be recorded correctly in the db, but the results of the original Twig template will be passed to the webform handlers.

Steps to reproduce

* Create a webform with a Computed Twig field.
* Create a variant, and change the template for the Computed Twig field.

Proposed resolution

We need to apply the variants when getting the data during validation.

🐛 Bug report
Status

Needs review

Version

6.2

Component

Code

Created by

🇺🇸United States MegaphoneJon

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