Skip to content

Commit

Permalink
Solution : Advance search page allow minus price filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohan Hapani committed Mar 20, 2020
1 parent ac3eb00 commit 0e964e4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
class="input-text"
type="text"
maxlength="<?= $block->escapeHtmlAttr($maxQueryLength) ?>"
data-validate="{number:true, 'less-than-equals-to':'#<?= $block->escapeHtmlAttr($_code) ?>_to'}" />
data-validate="{number:true, 'validate-not-negative-number':true, 'less-than-equals-to':'#<?= $block->escapeHtmlAttr($_code) ?>_to'}" />
</div>
</div>
<div class="field with-addon no-label">
Expand All @@ -81,7 +81,7 @@
class="input-text"
type="text"
maxlength="<?= $block->escapeHtmlAttr($maxQueryLength) ?>"
data-validate="{number:true, 'greater-than-equals-to':'#<?= $block->escapeHtmlAttr($_code) ?>'}" />
data-validate="{number:true, 'validate-not-negative-number':true, 'greater-than-equals-to':'#<?= $block->escapeHtmlAttr($_code) ?>'}" />
<label class="addafter"
for="<?= $block->escapeHtmlAttr($_code) ?>_to">
<?= $block->escapeHtml($block->getCurrency($_attribute)) ?>
Expand Down

0 comments on commit 0e964e4

Please sign in to comment.