Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Steps to reproduce
- Create a new webform and add a default value to e.g. a text field.
- Translate the webform.
- You are unable to translate the default value. When you add #default_value: 'my translation' It is stripped from the yaml code.
Comment | File | Size | Author |
---|---|---|---|
#3 | webform_translation-2863242-3.patch | 358 bytes | JeroenT |
| |||
#2 | webform_translation-2863242-2.patch | 358 bytes | JeroenT |
|
Comments
Comment #2
JeroenTPatch attached makes the default value translatable.
Comment #3
JeroenTFix coding standards...
Comment #5
jrockowitz CreditAttribution: jrockowitz as a volunteer commentedComment #6
JeroenT@jrockowitz,
Great to see this issue getting fixed so fast!