We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c7db8c commit de08803Copy full SHA for de08803
src/RetoolEmbed.ts
@@ -85,7 +85,7 @@ export class RetoolEmbed extends HTMLElement {
85
private postMessageForSelector = (messageType: string, eventData: any) => {
86
const maybeData = this.data ? this.data[eventData.selector] : null;
87
88
- if (maybeData) {
+ if (maybeData !== null && maybeData !== undefined) {
89
this.iframe?.contentWindow?.postMessage(
90
{
91
type: messageType,
0 commit comments