Skip to content

Commit 5a6cf6f

Browse files
committed
Contact Page > Changing input phone type to tel
1 parent 3666e03 commit 5a6cf6f

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Contact/view/frontend/templates

1 file changed

+1
-1
lines changed

app/code/Magento/Contact/view/frontend/templates/form.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<div class="field telephone">
3232
<label class="label" for="telephone"><span><?= $block->escapeHtml(__('Phone Number')) ?></span></label>
3333
<div class="control">
34-
<input name="telephone" id="telephone" title="<?= $block->escapeHtmlAttr(__('Phone Number')) ?>" value="<?= $block->escapeHtmlAttr($this->helper('Magento\Contact\Helper\Data')->getPostValue('telephone')) ?>" class="input-text" type="text" />
34+
<input name="telephone" id="telephone" title="<?= $block->escapeHtmlAttr(__('Phone Number')) ?>" value="<?= $block->escapeHtmlAttr($this->helper('Magento\Contact\Helper\Data')->getPostValue('telephone')) ?>" class="input-text" type="tel" />
3535
</div>
3636
</div>
3737
<div class="field comment required">

0 commit comments

Comments
 (0)