Timeline for Dynamically creating lightning combobox
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 11, 2021 at 15:46 | vote | accept | Greg | ||
Jun 8, 2021 at 18:10 | answer | added | Greg | timeline score: 0 | |
Jun 7, 2021 at 21:31 | comment | added | Phil W |
Fundamentally LWC does not support dynamic element creation. However, you can pass properties from the parent component into (API) properties of child components. You'll need to use that template for:each approach to deal with this, generating an appropriate array of JavaScript objects from which to obtain the necessary parameters for each child component in turn. Each object will need to include a means to select which type of child component to render. This is a reasonable place to start.
|
|
Jun 7, 2021 at 21:16 | review | First posts | |||
Jun 7, 2021 at 22:09 | |||||
Jun 7, 2021 at 21:12 | history | asked | Greg | CC BY-SA 4.0 |