Skip to content
Permalink
Browse files

Wrap default value with quotes (#3944)

  • Loading branch information...
LOBsTerr committed Apr 5, 2019
1 parent dafe9ea commit d7bf425463854462ccdda4ec13a5c06e0c2781e9
Showing with 1 addition and 1 deletion.
  1. +1 −1 templates/module/src/Form/form.php.twig
@@ -80,7 +80,7 @@ class {{ class_name }} extends FormBase {% endblock %}
'#size' => {{ input.size }},
{% endif %}
{% if input.default_value is defined and input.default_value|length %}
'#default_value' => {{ input.default_value }},
'#default_value' => '{{ input.default_value }}',
{% endif %}
{% if input.weight is defined and input.weight|length %}
'#weight' => '{{ input.weight }}',

0 comments on commit d7bf425

Please sign in to comment.
You can’t perform that action at this time.