Conditional rendering in a popup only works if the model of the rendering condition is the same model as that of the model of the “context” that opened the popup. (i.e. The model of the page title of the button that opened the popup or the model of the table that popup is a row action of).
Page 1 / 1
Menachem. I disagree. I can build a page with multiple models. One model provides context for a popup, and a second model is used to conditionally render material in that popup.
Can you give us a little more detail about what you are trying to do here?
Hi Rob,
I did some further testing and realized that this issue only occurs in a very specific situation.
It appears that it occurs only when both models share the same sObject and the (model) field value of the rendering condition is changed after the popup is rendered, in which case the new (changed) value of the field has no effect on the rendering of the component.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.