Fix function help for represent_value

This commit is contained in:
Matthias Kuhn 2017-09-26 12:08:04 +02:00
parent e604460a15
commit b527be02d7

View File

@ -4,9 +4,9 @@
"description": "Returns the configured representation value for a field value. It depends on the configured widget type. Often, this is useful for 'Value Map' widgets.",
"arguments": [
{"arg":"fieldName", "description": "The field name for which the widget configuration should be loaded."},
{"arg":"value", "description": "The value which should be resolved. Most likely a field." },
{"arg":"value", "description": "The value which should be resolved. Most likely a field." }
],
"examples": [
{ "expression":"represent_value('field_with_value_map', \"field_with_value_map\")", "returns":"Description for value"},
{ "expression":"represent_value('field_with_value_map', \"field_with_value_map\")", "returns":"Description for value"}
]
}