Questions tagged [connected-callback]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
201 views

LWC Quick Action - recordId propertyindefined in ConnectedCallback context

I am trying to create lwc quick action, which was introduced with the Summer 21 release. I want to use the recordId property from the object that I am on, but the property is 'undefined' in the ...
5
votes
1answer
280 views

LWC multiple apex calls on initialization (Best practices question)

PROBLEM: I have a LWC component which needs to gather data from different objects on initialization event (Objects are: custom object, files and metadata type). This is what I have in place working ...
1
vote
1answer
140 views

Spinner not working properly in LWC

If i do this: 1 async connectedCallback() { 2 this.showSpinner = true; 3 await this.getTableInformation(); 4 this.showSpinner = false; 5 } Spinner starts but never ends. Still a ...