JSON:API Webform translation

Created on 16 July 2024, 6 months ago
Updated 22 July 2024, 6 months ago

Problem/Motivation

Webform element translation, messing up when translated value is the same as the original value.

Steps to reproduce

In my case, i have a radio element for a Yes/No field.
In English the value is Yes and No. When i translate it in Italian, it become SÌ and No.
When calling the Italian version endpoint of the form, the No option totally disappear of the JSON:API response.

Release notes snippet

Webform has an issues on this bug, https://www.drupal.org/project/webform/issues/3451193 🐛 Select element with custom options translations labels issue Fixed i applied the patch and the error is fixed on a regular webform display (out of JSON:API), it looks like something should be adapated to on JSON:API x Webform interconnection.

🐛 Bug report
Status

Postponed: needs info

Version

11.0 🔥

Component
JSON API 

Last updated 9 days ago

Created by

🇫🇷France erwandsn

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

Comments & Activities

Production build 0.71.5 2024