The "Use selected widget" button just greys out after clicking it. This happens only on domains with ports in the URL. (ex. http://localhost:8000). I took a look at the code and found out that the message event listener wasn't receiving any messages from the iframe loaded. Investigated some more using the developer tools and found out that the host URL provided to the iframe doesn't include the port.
The "Use selected widget" button just greys out after clicking it. This happens only on domains with ports in the URL. (ex.
http://localhost:8000
). I took a look at the code and found out that the message event listener wasn't receiving any messages from the iframe loaded. Investigated some more using the developer tools and found out that the host URL provided to the iframe doesn't include the port.