Hi there, thanks for the great video. Could you pls give an example on opening modal window by clicking a hyperlink within LWC datatable instead of clicking on button.
@@SalesforceBolt Thanks for your help! I would like to ask another two questions please, but related to inline editing in a lightning-datatable, I'm struggling to make a field required, I'm using dynamic actions and was able to put some rules, but not make required.. Also, I would like to used another button to save, not the stardand one, so I'm using supress-bar, but it doesn't work like expected. I didn't find any example for this two things. Can you help with a link or some tip?
yo! I was trying to use a record-edit-form inside the modal body, recordId gets sent to the modal correctly through @api decorator. However modal shows all blank fields instead of filling it with the ones that should be fetched by record-edit-form
Hi there, what is the api decorator on the modal page? is it @api recordId? if yes can you please try to have a different name for it as this is a reserved decorator for url recordId.
Man your videos are great to keep upto date! Keep up the good work.
Thanks man, glad you like it 🙌
Hi there, thanks for the great video. Could you pls give an example on opening modal window by clicking a hyperlink within LWC datatable instead of clicking on button.
Have you tried applying the same method on link as well?
Great content bro
Thanks bro
Great video! I have one question, can I used lightning-modal to put another LWC component inside so it can open as a modal?
Hey Alexia, yes you can use child components inside the modal.
@@SalesforceBolt Thanks for your help! I would like to ask another two questions please, but related to inline editing in a lightning-datatable, I'm struggling to make a field required, I'm using dynamic actions and was able to put some rules, but not make required.. Also, I would like to used another button to save, not the stardand one, so I'm using supress-bar, but it doesn't work like expected. I didn't find any example for this two things. Can you help with a link or some tip?
Great content and amazing explanation , I have one question to ask can we dynamic Apex in LWC .
Yes we can, check this sample video below
ua-cam.com/video/zQ7ygl45d9k/v-deo.html
yo! I was trying to use a record-edit-form inside the modal body, recordId gets sent to the modal correctly through @api decorator.
However modal shows all blank fields instead of filling it with the ones that should be fetched by record-edit-form
Hi there, what is the api decorator on the modal page? is it @api recordId? if yes can you please try to have a different name for it as this is a reserved decorator for url recordId.
So if we need to open the modal from aura. We might need both the parent and child lwc to work with aura right?
Can we put another child component in modal body content? In your case you are just passing api string
Yes you can do that!