mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-23 11:56:00 +01:00
Add paymentCardExpiration met on Payplug (#711)
* Add paymentCardExpiration met on Payplug
This commit intends to add support for `paymentCardExpiration`, I'm not sure anymore if that syntax will work 🤔
* Add payment-card-expiration to contains array
This commit is contained in:
parent
e71511258d
commit
489b19487a
@ -431,8 +431,9 @@ export default class AutofillService implements AutofillServiceInterface {
|
|||||||
} else if (!fillFields.exp && this.isFieldMatch(f[attr],
|
} else if (!fillFields.exp && this.isFieldMatch(f[attr],
|
||||||
['cc-exp', 'card-exp', 'cc-expiration', 'card-expiration', 'cc-ex', 'card-ex',
|
['cc-exp', 'card-exp', 'cc-expiration', 'card-expiration', 'cc-ex', 'card-ex',
|
||||||
'card-expire', 'card-expiry', 'validite', 'expiration', 'expiry', 'mm-yy',
|
'card-expire', 'card-expiry', 'validite', 'expiration', 'expiry', 'mm-yy',
|
||||||
'mm-yyyy', 'yy-mm', 'yyyy-mm', 'expiration-date'],
|
'mm-yyyy', 'yy-mm', 'yyyy-mm', 'expiration-date', 'payment-card-expiration'],
|
||||||
['mm-yy', 'mm-yyyy', 'yy-mm', 'yyyy-mm', 'expiration-date'])) {
|
['mm-yy', 'mm-yyyy', 'yy-mm', 'yyyy-mm', 'expiration-date',
|
||||||
|
'payment-card-expiration'])) {
|
||||||
fillFields.exp = f;
|
fillFields.exp = f;
|
||||||
break;
|
break;
|
||||||
} else if (!fillFields.expMonth && this.isFieldMatch(f[attr],
|
} else if (!fillFields.expMonth && this.isFieldMatch(f[attr],
|
||||||
|
Loading…
Reference in New Issue
Block a user