From 46b0803aa2ebcc530328c24c836db9a671f77236 Mon Sep 17 00:00:00 2001 From: Ulrich Heidfeld Date: Tue, 24 Mar 2020 17:33:08 +0100 Subject: [PATCH] Improved: Decodes AjaxAutocompleteOptions return value (OFBIZ-11475) --- .../common-theme/template/includes/AjaxAutocompleteOptions.ftl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/common-theme/template/includes/AjaxAutocompleteOptions.ftl b/themes/common-theme/template/includes/AjaxAutocompleteOptions.ftl index 377e256723..b1b297ec96 100644 --- a/themes/common-theme/template/includes/AjaxAutocompleteOptions.ftl +++ b/themes/common-theme/template/includes/AjaxAutocompleteOptions.ftl @@ -54,7 +54,7 @@ under the License. "id": "${returnField}", "label": "<#if (displayString?trim?has_content )>${displayString?trim}<#else>${returnField}", - "value": "${returnField}" + "value": "${StringUtil.wrapString(returnField)}" }<#if autocompleteOption_has_next>, <#else>