Details
-
Bug
-
Resolution: Not an issue
-
Neutral
-
None
-
None
-
None
-
None
Description
Steps to reproduce
- Create a form on a multilingual site
- add a hidden field
- edit hidden field and try to set a different value per language
Expected results
Most (all?) of the other form fields can have translated values, so it's reasonable to expect 'hidden' to also have the capacity to have translated values (we want to use this to pass language as a parameter to the form processor)
Actual results
There's no language selector in the edit dialog.
Workaround
We've tried to use decoration to add i18n=true to the field value, but without success - it refuses to apply the decoration. I can't tell if this is my fault, or if it's not possible to decorate dialogs, or if it's because the dialog is bootstrapped into config rather than part of a lightmodule.
Development notes
It should be as simple as adding i18n:true to formHidden.yaml for the 'value' field.
Checklists
Acceptance criteria