Skip to content

Commit

Permalink
fix: add autocomplete option for cardElement
Browse files Browse the repository at this point in the history
  • Loading branch information
lcschy committed Jun 30, 2022
1 parent e810834 commit b22e06f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/types/elements/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ interface TransformOption {
transform?: Transform;
}

type CustomizableElementOptions = Pick<ElementOptions, 'style' | 'disabled'>;
type CustomizableElementOptions = Pick<
ElementOptions,
'style' | 'disabled' | 'autoComplete'
>;

type CreateCardElementOptions = CustomizableElementOptions;

Expand Down

0 comments on commit b22e06f

Please sign in to comment.