Call async JavaScript function from a Action
I have a
TextInput
that has a hintAction
to copy a code to an NFC tag using Chrome's NDEFReader
JS function
The JS function works, calling the JS functions from Action works. However, the modal doesn't wait for the JS function, it closes as soon as I confirm on the modal. Is there a way to "wait" for the JS function to finish before closing the modal?
Any guidance will be greatly appreciate it1 Reply
here is a quick demo, modal closes right away doesn't wait for the JS function to finish