Skip to content

Commit ccfef5b

Browse files
committed
Merge remote-tracking branch 'remotes/origin/MAGETWO-39525' into develop
2 parents e1b0bb8 + bbae1fb commit ccfef5b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

app/code/Magento/Payment/view/frontend/web/template/payment/cc-form.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@
4444
<span><!-- ko text: $t('Credit Card Number')--><!-- /ko --></span>
4545
</label>
4646
<div class="control">
47-
<input type="text" name="payment[cc_number]" class="input-text" value=""
47+
<input type="number" name="payment[cc_number]" class="input-text" value=""
4848
data-bind="attr: {
49+
autocomplete: off,
4950
id: getCode() + '_cc_number',
5051
title: $t('Credit Card Number'),
5152
'data-container': getCode() + '-cc-number',
@@ -98,7 +99,7 @@
9899
<span><!-- ko text: $t('Card Verification Number')--><!-- /ko --></span>
99100
</label>
100101
<div class="control _with-tooltip">
101-
<input type="text" class="input-text cvv" name="payment[cc_cid]" value=""
102+
<input type="number" autocomplete="off" class="input-text cvv" name="payment[cc_cid]" value=""
102103
data-bind="attr: {id: getCode() + '_cc_cid', title: $t('Card Verification Number'), 'data-container': getCode() + '-cc-cvv', 'data-validate': JSON.stringify({'required-number':true, 'validate-card-cvv':'#' + getCode() + '_cc_type'})},
103104
enable: isActive($parents),
104105
value: creditCardVerificationNumber"/>
@@ -124,7 +125,7 @@
124125
<span><!-- ko text: $t('Issue Number')--><!-- /ko --></span>
125126
</label>
126127
<div class="control">
127-
<input type="text" name="payment[cc_ss_issue]"
128+
<input type="number" name="payment[cc_ss_issue]"
128129
value=""
129130
class="input-text cvv"
130131
data-bind="attr: {id: getCode() + '_cc_issue', title: $t('Issue Number'), 'data-container': getCode() + '-cc-issue', 'data-validate': JSON.stringify({'validate-cc-ukss':true})}, enable: isActive($parents)"/>

app/code/Magento/Payment/view/frontend/web/template/payment/iframe.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
-->
77
<!-- IFRAME for request to Payment Gateway -->
88
<iframe width="0" height="0" data-bind="src: getSource(), attr: {id: getCode() + '-transparent-iframe', 'data-container': getCode() + '-transparent-iframe'}" allowtransparency="true" frameborder="0" name="iframeTransparent" style="display:none;width:100%;background-color:transparent"></iframe>
9-
<form class="form" id="co-transparent-form" action="#" method="post" data-bind="mageInit: {
9+
<form class="form" id="co-transparent-form" autocomplete="off" action="#" method="post" data-bind="mageInit: {
1010
'transparent':{
1111
'controller': getControllerName(),
1212
'gateway': getCode(),

0 commit comments

Comments
 (0)