Skip to content

Commit a2ca170

Browse files
authored
Removed Unnecessary Validation Code
1 parent 14b90ed commit a2ca170

File tree

1 file changed

+1
-2
lines changed
  • app/code/Magento/CatalogSearch/view/frontend/templates/advanced

1 file changed

+1
-2
lines changed

app/code/Magento/CatalogSearch/view/frontend/templates/advanced/form.phtml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,7 @@
126126
value="<?= $block->escapeHtml($block->getAttributeValue($_attribute)) ?>"
127127
title="<?= $block->escapeHtml($block->getAttributeLabel($_attribute)) ?>"
128128
class="input-text <?= $block->escapeHtmlAttr($block->getAttributeValidationClass($_attribute)) ?>"
129-
maxlength="<?= $block->escapeHtmlAttr($maxQueryLength) ?>"
130-
data-validate="{'validate-alphanum':true}"/>
129+
maxlength="<?= $block->escapeHtmlAttr($maxQueryLength) ?>" />
131130
<?php endswitch; ?>
132131
</div>
133132
</div>

0 commit comments

Comments
 (0)