Skip to content

Commit 8c3c3f4

Browse files
committed
PB-341: Save content as template
- Restrict input to 100 characters
1 parent 718e2ff commit 8c3c3f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/template/modal/template-manager/save-content-modal.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</label>
2828
<% } %>
2929
<div class="admin__field-control">
30-
<input type="text" data-role="promptField" id="prompt-field-<%- data.id %>" class="admin__control-text" <%= inputAttr %>/>
30+
<input type="text" data-role="promptField" id="prompt-field-<%- data.id %>" maxlength="100" class="admin__control-text" <%= inputAttr %>/>
3131
</div>
3232
</div>
3333
<% if(data.templateTypes){ %>

0 commit comments

Comments
 (0)