Quantcast
Viewing all articles
Browse latest Browse all 295804

JSON:API Webform translation

Problem/Motivation

Webform element translation, missing 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 call.

Release notes snippet

Webform has an issues on this bug, https://www.drupal.org/project/webform/issues/3451193 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.


Viewing all articles
Browse latest Browse all 295804


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>