- 🇳🇱Netherlands Lendude Amsterdam
📌 Increase or remove default textfield #maxlength=128 Needs review might solve this too
When you create a field as "List (text) (id: list_string)" You can create values for the keys that are "unlimited" in length. There is a limit because the input field is a textarea covering all the key/value pairs.
But, when translating this field, al the key/value pairs are split into separate textfields and the value for the textfield is defined as a "label" (in options.schema.yml), limiting it to 127 characters.
field.storage_settings.list_string:
type: mapping
label: 'List (text) settings'
mapping:
allowed_values:
type: sequence
label: 'Allowed values list'
sequence:
type: mapping
label: 'Allowed value with label'
mapping:
value:
type: string
label: 'Value'
label:
type: label
label: 'Label'
allowed_values_function:
type: string
label: 'Allowed values function'
This limitation is "wrong", because the actual values can be much longer without causing any problems.
Change the type of "Label" in options.schema.yml from "label" to "text".
Review the proposed solution.
The user interface for translating list_string field types changes so that labels are input in a textarea rather then a textfield.
None
Change the type of "Label" in options.schema.yml from "label" to "text.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
📌 Increase or remove default textfield #maxlength=128 Needs review might solve this too