How to pass data from modal element to its host el...
# help-with-umbraco
l
Hello im wondering how i can pass the data i get when i submit my custom modal from the modal to the host element. If anyone can point me to the documentation for this or have an explanation that would be awesome :D
j
Your modal should set its
value
property to what you want, that is then what you can access in the
onSubmit
promise on the host element
If your modal element extends the
UmbModalBaseElement
it will already have such a property
5 Views