Salesforce Fact #643 | Passing recordId from LWC quick action
Suppose we are using an LWC as a quick action and from that component we are passing the current record Id to a child LWC for further processing.
Now, an interesting thing here is if we are calling an apex method imperatively from the child component using the same recordId passed, then we need to check the value of it before passing, otherwise it passes undefined.
Attached are the screenshots.
Doesn't make sense but fine 🙂
ReplyDelete