Skip to content

Commit

Permalink
Fixed a bug where block types’ layout elements were getting new UUIDs…
Browse files Browse the repository at this point in the history
… assigned each time the field was edited.
  • Loading branch information
engram-design committed Aug 11, 2022
1 parent a9cf0df commit da96221
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/templates/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ <h5>{{ "Field Settings" | t('app') }}</h5>

<div data-id="{{ fieldId }}" {% if not loop.first %}class="settings-hidden"{% endif %}>
{% namespace 'blockTypes[' ~ blockTypeId ~ '][fields][' ~ fieldId ~ ']' %}
{% if layoutElement.uid %}
{{ hiddenInput('uid', layoutElement.uid) }}
{% endif %}

{{ forms.textField({
label: "Name" | t('app'),
id: 'name',
Expand Down

0 comments on commit da96221

Please sign in to comment.