Merge pull request #13740 from CommanderRoot/patch-2

Fix input value escaping
This commit is contained in:
Maurício Meneghini Fauth 2017-10-14 00:18:34 -03:00 committed by GitHub
commit 7792dfba9f

View File

@ -44,7 +44,7 @@
{% elseif column_type starts with 'enum'
or (column_type starts with 'set' and in_zoom_search_edit) %}
{% set in_zoom_search_edit = false %}
{% set value = column_type|e|slice(5, -1)|replace({"'": ''})|split(', ') %}
{% set value = column_type|e|slice(5, -1)|replace({''': ''})|split(', ') %}
{% set cnt_value = value|length %}
{#
Enum in edit mode --> dropdown