Skip to main content

I have a component that implements force:lightningQuickAction but would like to have conditional rendering (i.e only display on the page layout if a bool field == true). I've been researching, but have not found a way to conditionally render within a standard component? Does anyone know if this is possible, or if a parent component is the only way to do this?

5 comentarios
  1. 6 nov 2017, 13:35
    @Starley Flynn One way to work around this for the time being is to create separate record types for the condition that it is to display vs not display, then create separate page layouts for the record types that has the action vs doesn't have the action. Kinda messy but would achieve the desired effect.
0/9000