You need to sign in to do that
Don't have an account?
KMK91
How to create popup in lightning
Hi,
Page which will display all accounts in the org, there should be one button for Add Account. On click of this button, popup will ask for account details (Mandatory details only) and after click on submit button this new account will add to DB, go to previous page and previous page also will refresh.
Thanks
KMK
Page which will display all accounts in the org, there should be one button for Add Account. On click of this button, popup will ask for account details (Mandatory details only) and after click on submit button this new account will add to DB, go to previous page and previous page also will refresh.
Thanks
KMK
Greetings to you!
Below is the sample code which I have tested in my org and it is working fine. Kindly modify the code as per your requirement.
Component:
Controller:
CSS:
Apex:
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future.
Thanks and Regards,
Khan Anas
All Answers
Greetings to you!
Below is the sample code which I have tested in my org and it is working fine. Kindly modify the code as per your requirement.
Component:
Controller:
CSS:
Apex:
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future.
Thanks and Regards,
Khan Anas
Below code can fulfill your requirements, Hope this will work for you.
Component :
Controller :
Please mark this as best answer if this solves your problem.
Thank you,
Ajay Dubedi
http://www.sfdcpoint.com/salesforce/modal-popup-lightning-component-salesforce/