5 respuestas
Hi Prema,Use onchange event on the input field and use $A.createComponent to create lightning components dynamically in Javascript controller.Here is the link to do it:-https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/js_cb_dynamic_cmp_async.htmhttps://salesforce.stackexchange.com/questions/231778/dynamically-create-a-lightning-component-and-put-it-into-a-custom-lightning-compHope it helps, if it does mark it as solved.Thanks