Skip to content

Commit

Permalink
SK-1120: copy unformatted card number
Browse files Browse the repository at this point in the history
  • Loading branch information
skyflow-shravan committed Jul 9, 2024
1 parent ea39e89 commit 013964a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/internal/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ export class FrameElement {
(<HTMLInputElement> this.domInput).checked = this.options.value === state.value;
}
if (this.options.enableCopy) {
this.copyText = state.value;
this.copyText = this.iFrameFormElement.getUnformattedValue();
}
if (this.iFrameFormElement.fieldType === ELEMENTS.CARD_NUMBER.name) {
const cardType = detectCardType(state.value);
Expand Down

0 comments on commit 013964a

Please sign in to comment.