Skip to content

Commit f30301d

Browse files
committed
Resolve So many Fields in Store->Configuration->Catalog has no-validations issue 23723
1 parent 7f585fd commit f30301d

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
@@ -41,11 +41,11 @@
4141
<label>Recently Viewed/Compared Products</label>
4242
<field id="recently_viewed_lifetime" translate="label" type="text" sortOrder="40" showInDefault="1" showInWebsite="0" showInStore="0" canRestore="1">
4343
<label>Lifetime of products in Recently Viewed Widget</label>
44-
<validate>validate-digits validate-zero-or-greater</validate>
44+
<validate>validate-number validate-zero-or-greater</validate>
4545
</field>
4646
<field id="recently_compared_lifetime" translate="label" type="text" sortOrder="40" showInDefault="1" showInWebsite="0" showInStore="0" canRestore="1">
4747
<label>Lifetime of products in Recently Compared Widget</label>
48-
<validate>validate-digits validate-zero-or-greater</validate>
48+
<validate>validate-number validate-zero-or-greater</validate>
4949
</field>
5050
<field id="synchronize_with_backend" translate="label" type="select" showInDefault="1" canRestore="1">
5151
<label>Synchronize widget products with backend storage</label>

0 commit comments

Comments
 (0)