Skip to content

Commit b9646ce

Browse files
committed
Resolve Some Fields in "Currency Setup" must have validate number issue24204
1 parent 2bc471e commit b9646ce

File tree

1 file changed

+2
-0
lines changed
  • app/code/Magento/Directory/etc/adminhtml

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
</field>
4444
<field id="timeout" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="0" showInStore="0">
4545
<label>Connection Timeout in Seconds</label>
46+
<validate>validate-zero-or-greater validate-number</validate>
4647
</field>
4748
</group>
4849
<group id="currencyconverterapi" translate="label" sortOrder="45" showInDefault="1" showInWebsite="0" showInStore="0">
@@ -54,6 +55,7 @@
5455
</field>
5556
<field id="timeout" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="0" showInStore="0">
5657
<label>Connection Timeout in Seconds</label>
58+
<validate>validate-zero-or-greater validate-number</validate>
5759
</field>
5860
</group>
5961
<group id="import" translate="label" type="text" sortOrder="50" showInDefault="1" showInWebsite="0" showInStore="0">

0 commit comments

Comments
 (0)