Skip to content

Commit

Permalink
docs: uppercase cvc directive (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsogulcan authored Feb 20, 2025
1 parent 661103b commit 13bdb56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Will support format of MM/YY or MM/YYYY
```

**CVC Formater**
* add `ccCvc` directive:
* add `ccCVC` directive:
```html
<input id="cc-cvc" type="tel" autocomplete="off" ccCVC>
```
Expand All @@ -123,7 +123,7 @@ import { CreditCardValidators } from 'angular-cc-library';
<form #demoForm="ngForm" (ngSubmit)="onSubmit(demoForm)" novalidate>
<input id="cc-number" formControlName="creditCard" type="tel" autocomplete="cc-number" ccNumber>
<input id="cc-exp-date" formControlName="expirationDate" type="tel" autocomplete="cc-exp" ccExp>
<input id="cc-cvc" formControlName="cvc" type="tel" autocomplete="off" ccCvc>
<input id="cc-cvc" formControlName="cvc" type="tel" autocomplete="off" ccCVC>
</form>
`
})
Expand Down

0 comments on commit 13bdb56

Please sign in to comment.