File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/CatalogSearch/view/frontend/templates/advanced Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 68
68
class="input-text"
69
69
type="text"
70
70
maxlength="<?= $ block ->escapeHtmlAttr ($ maxQueryLength ) ?> "
71
- data-validate="{number:true, 'less-than-equals-to':'#<?= $ block ->escapeHtmlAttr ($ _code ) ?> _to'}" />
71
+ data-validate="{number:true, 'validate-not-negative-number':true, ' less-than-equals-to':'#<?= $ block ->escapeHtmlAttr ($ _code ) ?> _to'}" />
72
72
</div>
73
73
</div>
74
74
<div class="field with-addon no-label">
81
81
class="input-text"
82
82
type="text"
83
83
maxlength="<?= $ block ->escapeHtmlAttr ($ maxQueryLength ) ?> "
84
- data-validate="{number:true, 'greater-than-equals-to':'#<?= $ block ->escapeHtmlAttr ($ _code ) ?> '}" />
84
+ data-validate="{number:true, 'validate-not-negative-number':true, ' greater-than-equals-to':'#<?= $ block ->escapeHtmlAttr ($ _code ) ?> '}" />
85
85
<label class="addafter"
86
86
for="<?= $ block ->escapeHtmlAttr ($ _code ) ?> _to">
87
87
<?= $ block ->escapeHtml ($ block ->getCurrency ($ _attribute )) ?>
You can’t perform that action at this time.
0 commit comments