Skip to content

Commit

Permalink
Fix autocomplete attribute case on input component
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Dec 20, 2017
1 parent 898bd80 commit 5c3afbc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ class CreditCardInput extends Component {
>
<Input
id="card-number"
autocomplete="cc-number"
autoComplete="cc-number"
className={`credit-card-input ${inputClassName}`}
pattern="[0-9]*"
placeholder="Card number"
Expand All @@ -318,7 +318,7 @@ class CreditCardInput extends Component {
<InputWrapper inputStyled={inputStyle} data-max="MM / YY 99">
<Input
id="card-expiry"
autocomplete="cc-exp"
autoComplete="cc-exp"
className={`credit-card-input ${inputClassName}`}
pattern="[0-9]*"
placeholder="MM / YY"
Expand All @@ -333,7 +333,7 @@ class CreditCardInput extends Component {
<InputWrapper inputStyled={inputStyle} data-max="999999">
<Input
id="cvc"
autocomplete="cc-csc"
autoComplete="cc-csc"
className={`credit-card-input ${inputClassName}`}
pattern="[0-9]*"
placeholder="CVC"
Expand Down

0 comments on commit 5c3afbc

Please sign in to comment.