You need to sign in to do that
Don't have an account?
Peter Bölke
Open Lightning Modal Cases
Hello,
i need to have a button on case object which opens a lightning modal to enter some information. As i understand that isnt easy with the case object.
Does anybody know how to get something like this working?
thanks
Peter
i need to have a button on case object which opens a lightning modal to enter some information. As i understand that isnt easy with the case object.
Does anybody know how to get something like this working?
thanks
Peter
Please refer the below code, it may be help for you.
Case_Model.cmp Case_ModelController.js Lightning_Input_Component.cmp Output:
All Answers
https://www.lightningdesignsystem.com/components/modals/
Please refer the below with great examples.
just use boolean attribute to open the modal and close on click the button. The Modal have to be designed by SLDS.
http://sfdcmonkey.com/2017/04/15/modal-box-lightning-component-salesforce/
without using SLDS: using lightningoverlay
http://biswajeetsamal.com/blog/lightning-overlaylibrary-modal/
http://www.salesforcenextgen.com/how-to-create-a-modal-box-in-lightning-component/
https://rajvakati.com/2018/05/29/lightningoverlaylibrary-example/
Can you please Let me know if it helps or not!!!
If it helps don't forget to mark this as a best answer!!!
Thanks,
Raj
Please refer the below code, it may be help for you.
Case_Model.cmp Case_ModelController.js Lightning_Input_Component.cmp Output: