We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0770f3 commit 225019aCopy full SHA for 225019a
force-app/main/default/lwc/recordPickerMultiValue/recordPickerMultiValue.js
@@ -93,6 +93,11 @@ export default class RecordPickerMultiValue extends LightningElement {
93
variables: '$variables'
94
})
95
wiredGraphQL({ data, errors }) {
96
+ // Ignore graphql query results if the variables are undefined
97
+ if (this.variables === undefined) {
98
+ return;
99
+ }
100
+
101
this.wireError = errors;
102
if (errors || !data) {
103
return;
@@ -127,6 +132,7 @@ export default class RecordPickerMultiValue extends LightningElement {
127
132
}
128
133
129
134
handleRecordPickerChange(event) {
135
+ console.log('handleRecordPickerChange', event.detail.recordId);
130
136
this.selectedRecordId = event.detail.recordId;
131
137
138
0 commit comments