diff --git a/frappe/templates/includes/form_macros.html b/frappe/templates/includes/form_macros.html index fd3d03374d..d83974cc65 100644 --- a/frappe/templates/includes/form_macros.html +++ b/frappe/templates/includes/form_macros.html @@ -4,7 +4,7 @@ {{ key }}="{{ value }}" {% endfor %}{% endif %}> {% if options -%} {% for option in options -%} - {% set option_value = option.value if option is missing else option %} + {% set option_value = option.value if option is mapping else option %} {%- endfor %}