- Issue created by @paul_leclerc
Is this a duplicate of ๐ AJAX and Conditionals Conflicting Active and ๐ Display Bug when using #states (Forms API) with Ajax Request Needs work ?
This bug report has 1000-line YAML files for reproduction. Please determine the minimal form that exhibits the bug and post that.
- ๐ซ๐ทFrance paul_leclerc Lausanne Switzerland
1 - I would say it's a little different context + I tried all patches without success + the workaround does not works in my case.
"I actually found a temporary workaround for this particular situation by splitting the two cases into separate "Pattern/Hidden" and "Not Pattern/Visible" conditions."2 - I largely reduced the webform.
- ๐จ๐ดColombia Ozle Bogotรก
Hi @paul_leclerc,
This is a data type issue, you can solve it adding the filter number_format in every variable.
{% set charges = data.charges|number_format + (data.demi_charges|number_format / 2) %}
i updated the yml applying this filter and its working.
- Status changed to Postponed: needs info
about 1 year ago 10:26pm 26 August 2023 - Status changed to Closed: outdated
10 months ago 1:47pm 29 January 2024