Skip to content

Commit

Permalink
Merge pull request #22 from Smile-SA/fix-18-Timeout
Browse files Browse the repository at this point in the history
[Timeout] #18 - Add a validation rule on the maximum number of produc…
  • Loading branch information
maximequeneau committed Sep 16, 2019
2 parents acfed95 + 7b8037b commit d495f9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions view/adminhtml/ui_component/sales_rule_form.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
<settings>
<validation>
<rule name="required-entry" xsi:type="boolean">true</rule>
<rule name="validate-greater-than-zero" xsi:type="boolean">true</rule>
</validation>
<dataType>text</dataType>
<label translate="true">Maximum number of products offered</label>
Expand Down

0 comments on commit d495f9f

Please sign in to comment.