Conditional pattern are broken with computed twig ajax true

Created on 9 August 2023, over 1 year ago
Updated 29 January 2024, 10 months ago

Problem/Motivation

Field with conditionals pattern appears when they should not.

Steps to reproduce

I attached the webform and the source if needed.
I'm not sure about the context needed to reproduce, mix of conditionals pattern / computed twig / cache.
But I checked all related tickets and make a lot of tests to reduce differents contexts :

When I removed all Computed twig field of the webform, it works.
When I moved some computed twig (calc_charges to the previous step for example) to another stop it works but just once, if we change the field again it'll appears when it should not.
If we clear caches, the behaviour works only once too.

When I replace the data.var in the computed fields by a number, it works.
When I disabled the ajax on the computed fields, it works.
When I move the computed fields in another page wizard, it works.

A self-conditioning computed twig field context may also be an issue.

๐Ÿ’ฌ Support request
Status

Closed: outdated

Version

6.1

Component

Code

Created by

๐Ÿ‡ซ๐Ÿ‡ทFrance paul_leclerc Lausanne Switzerland

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

Comments & Activities

Production build 0.71.5 2024