-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add enableCopy
to JS and react sdk's
#78
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
docs/sdks/web/javascript/options.mdx
Outdated
| `value` | false | _string_ | true | All | Sets a static value for the element input. | | ||
| `enableCopy` | false | _boolean_ | true | [`cardNumber`](/docs/sdks/web/javascript/types#ard-number-element)<br/>[`cardExpirationDate`](/docs/sdks/web/javascript/types#card-expiration-date-element)<br/>[`cardElement`](/docs/sdks/web/javascript/types#card-element) <br/>[`cardVerificationCode`](/docs/sdks/web/javascript/types#card-verification-code-element) | Renders a button to allopw users copy the value of the elements to the browser's clipboard without your application ever interacting with the data. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `enableCopy` | false | _boolean_ | true | [`cardNumber`](/docs/sdks/web/javascript/types#ard-number-element)<br/>[`cardExpirationDate`](/docs/sdks/web/javascript/types#card-expiration-date-element)<br/>[`cardElement`](/docs/sdks/web/javascript/types#card-element) <br/>[`cardVerificationCode`](/docs/sdks/web/javascript/types#card-verification-code-element) | Renders a button to allopw users copy the value of the elements to the browser's clipboard without your application ever interacting with the data. | | |
| `enableCopy` | false | _boolean_ | true | [`cardNumber`](/docs/sdks/web/javascript/types#ard-number-element)<br/>[`cardExpirationDate`](/docs/sdks/web/javascript/types#card-expiration-date-element)<br/>[`cardElement`](/docs/sdks/web/javascript/types#card-element) <br/>[`cardVerificationCode`](/docs/sdks/web/javascript/types#card-verification-code-element) | Renders a button to allow users to copy the value of the element to the browser's clipboard without your application ever interacting with the data. | |
docs/sdks/web/react/components.mdx
Outdated
| `onKeyDown` | false | _function_ | true | Event Listener. See [On Keydown](/docs/sdks/web/javascript/methods#on-keydown) | | ||
| `ref` | false | _object/function_ | false | [Ref object](/docs/sdks/web/react#using-refs)/[Callback ref function](https://reactjs.org/docs/refs-and-the-dom.html) to store/receive the Element instance. | | ||
| `validateOnChange` | false | _boolean_ | false | Enable validation `onChange` | | ||
| `enableCopy` | false | _boolean_ | false | Renders a button so your users can copy the value of the elements to the browser's clipboard without your application ever interacting with the data. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `enableCopy` | false | _boolean_ | false | Renders a button so your users can copy the value of the elements to the browser's clipboard without your application ever interacting with the data. | | |
| `enableCopy` | false | _boolean_ | false | Renders a button so your users can copy the value of the element to the browser's clipboard without your application ever interacting with the data. | |
docs/sdks/web/react/components.mdx
Outdated
| `onKeyDown` | false | _function_ | true | Event listener. See [On Keydown](/docs/sdks/web/javascript/methods#on-keydown) | | ||
| `ref` | false | _object/function_ | false | [Ref object](/docs/sdks/web/react#using-refs)/[Callback ref function](https://reactjs.org/docs/refs-and-the-dom.html) to store/receive the Element instance. | | ||
| `validateOnChange` | false | _boolean_ | false | Enable validation `onChange` | | ||
| `enableCopy` | false | _boolean_ | false | Renders a button so your users can copy the value of the elements to the browser's clipboard without your application ever interacting with the data. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `enableCopy` | false | _boolean_ | false | Renders a button so your users can copy the value of the elements to the browser's clipboard without your application ever interacting with the data. | | |
| `enableCopy` | false | _boolean_ | false | Renders a button so your users can copy the value of the element to the browser's clipboard without your application ever interacting with the data. | |
docs/sdks/web/react/components.mdx
Outdated
| `onKeyDown` | false | _function_ | true | Event listener. See [On Keydown](/docs/sdks/web/javascript/methods#on-keydown) | | ||
| `ref` | false | _object/function_ | false | [Ref object](/docs/sdks/web/react#using-refs)/[Callback ref function](https://reactjs.org/docs/refs-and-the-dom.html) to store/receive the Element instance. | | ||
| `validateOnChange` | false | _boolean_ | false | Enable validation `onChange` | | ||
| `enableCopy` | false | _boolean_ | false | Renders a button so your users can copy the value of the elements to the browser's clipboard without your application ever interacting with the data. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `enableCopy` | false | _boolean_ | false | Renders a button so your users can copy the value of the elements to the browser's clipboard without your application ever interacting with the data. | | |
| `enableCopy` | false | _boolean_ | false | Renders a button so your users can copy the value of the element to the browser's clipboard without your application ever interacting with the data. | |
docs/sdks/web/react/components.mdx
Outdated
| `onKeyDown` | false | _function_ | true | Event listener. See [On Keydown](/docs/sdks/web/javascript/methods#on-keydown) | | ||
| `ref` | false | _object/function_ | false | [Ref object](/docs/sdks/web/react#using-refs)/[Callback ref function](https://reactjs.org/docs/refs-and-the-dom.html) to store/receive the Element instance. | | ||
| `validateOnChange` | false | _boolean_ | false | Enable validation `onChange` | | ||
| `enableCopy` | false | _boolean_ | false | Renders a button so your users can copy the value of the elements to the browser's clipboard without your application ever interacting with the data. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `enableCopy` | false | _boolean_ | false | Renders a button so your users can copy the value of the elements to the browser's clipboard without your application ever interacting with the data. | | |
| `enableCopy` | false | _boolean_ | false | Renders a button so your users can copy the value of the element to the browser's clipboard without your application ever interacting with the data. | |
# [1.34.0](v1.33.0...v1.34.0) (2023-02-27) ### Features * add `enableCopy` to JS and react sdk's ([#78](#78)) ([a33d5a5](a33d5a5))
🎉 This PR is included in version 1.34.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Description
enableCopy
to JS and react sdk'svalidateOnChange
to react sdkTesting required outside of automated testing?
Screenshots (if appropriate):
Rollback / Rollforward Procedure
Reviewer Checklist