Skip to content

Commit 0add8b7

Browse files
committed
#21734 Error in JS validation rule
1 parent 6bb24ef commit 0add8b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Catalog/etc/adminhtml/system.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
<field id="grid_per_page_values" translate="label comment" type="text" sortOrder="2" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
5757
<label>Products per Page on Grid Allowed Values</label>
5858
<comment>Comma-separated.</comment>
59-
<validate>validate-per-page-value-list</validate>
59+
<validate>validate-per-page-value-list required-entry</validate>
6060
</field>
6161
<field id="grid_per_page" translate="label comment" type="text" sortOrder="3" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
6262
<label>Products per Page on Grid Default Value</label>
@@ -66,7 +66,7 @@
6666
<field id="list_per_page_values" translate="label comment" type="text" sortOrder="4" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
6767
<label>Products per Page on List Allowed Values</label>
6868
<comment>Comma-separated.</comment>
69-
<validate>validate-per-page-value-list</validate>
69+
<validate>validate-per-page-value-list required-entry</validate>
7070
</field>
7171
<field id="list_per_page" translate="label comment" type="text" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
7272
<label>Products per Page on List Default Value</label>

0 commit comments

Comments
 (0)