0

Is it possible to make a simple LWC (without aura) that loads a dynamic Flow (text parameter) into a modal popup? I would think this would have already existed using the SLDS Modal but every sample I come across seems much more complicated than necessary; with dependencies on other code repos/components (for example). Unfortunately my JS is not very strong so I'm having trouble getting this concept to work.

I've found this simple example for setting up a modal but I don't understand how I would dynamically load a Flow into it. Can anyone provide some insight or explanation?

0

Create a lwc component with modal html in it and create an @api vairable in the js. Bind the value of @api vairable to the html. Pass the value from parent component to show in the modal.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.