I have a question regarding some text which I have included in a modal in my app.
As you can see in the image below, I have a search bar and simple list where the user can search for other users and invite them to have access to a particular file (similar to OneDrive or Google Docs etc)
How do I change the magic text to replace the search term to the actual email which has been clicked on? So in this case, I would like the text to read:
“Would you like to give brandon@example,com access to this file?”
Any help would be greatly appreciated!