Closed bboyrabi closed 4 years ago
Yeah I know about this error. The base class that handles the mounting doesn't disambiguate the mount point.
Hopefully I'll get a PR up soon
You can try this workaround in the mean time
render() {
return html`
${!unsupported ? this.paymentRequestTemplate() : ''}
${unsupported ? this.stripeElementsTemplate() : ''}
`;
}
:tada: This issue has been resolved in version 2.3.2 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
This component is very useful for my project. My project uses
template-responsive-drawer-layout
of PWA Starter Kit(Polymer Project).I tried this.
Then two stripe elements are mount for same slot.
<slot slot="stripe-card" name="stripe-card"></slot>
.Result:
I think that
stripeMountId
ofStripeBase.js
alone will not allow multiple elements forms to be embedded on a single page, andslot-name
needs to be changed for each elements.Thank you.