Timeline for Dynamically display fields in lightning component
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 24, 2019 at 9:47 | comment | added | Ajinkya Phadnis | Number of fields won't be an issue with this approach, you just have to make sure that all field types are handled in your child component. | |
Jun 24, 2019 at 9:44 | comment | added | Ajinkya Phadnis |
Inside the child component, you can check for the data type : Example : <aura:if type='Integer'> // integer component </auraif> <aura:if type='Text'> // text component </auraif>
|
|
Jun 24, 2019 at 9:43 | comment | added | SFDC Learner | These are actually input boxes which can be text , number , date etc. We will not know the datatype as well. and the number of fields to display also varies with the value chosen in the flow that calls the lightning component | |
Jun 24, 2019 at 9:38 | history | answered | Ajinkya Phadnis | CC BY-SA 4.0 |