Skip to content

Commit

Permalink
Merge pull request #40 from bolt/bobdenotter-patch-1
Browse files Browse the repository at this point in the history
 Use the default field option in the Article Field
  • Loading branch information
bobdenotter committed Nov 28, 2022
2 parents 15df934 + eed7daf commit ecfd2b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/article.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

{% block field %}

<textarea type="text" name="{{ name }}" id="{{ id }}" class="article-field d-none">{{ value }}</textarea>
<textarea name="{{ name }}" id="{{ id }}" class="article-field d-none">{{ value|default(field.definition.get('default')) }}</textarea>

{% endblock %}

0 comments on commit ecfd2b9

Please sign in to comment.