Skip to content

Commit 345f920

Browse files
authored
ENGCOM-5467: Resolve "Discount Amount" field is validated after the page load without any action from user in Create New Catalog Rule form issue23777 #23779
2 parents be4c07b + de09366 commit 345f920

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/CatalogRule/view/adminhtml/ui_component/catalog_rule_form.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@
307307
<settings>
308308
<validation>
309309
<rule name="required-entry" xsi:type="boolean">true</rule>
310+
<rule name="validate-number-range" xsi:type="string">0.00-100.00</rule>
310311
</validation>
311312
<dataType>text</dataType>
312313
<label translate="true">Discount Amount</label>

0 commit comments

Comments
 (0)