You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
send a variable from a js to a iframe with ( frame.contentWindow.postMessage({call:'phone_number', value: "+573156614697"}, 'my twilio url');
)
recieve the varible with
window.addEventListener('message', function(event){
var phone_value= event.data.value;
phoneInput.setNumber(phone_value);
});
Expected behaviour
this should set the set Number method with the variable that i'm sending
Actual behaviour
that just do nothing, and the input don't recieve my variable as input value.
i already check that the variable value (+573156614697) are getting received in my iframe correctly.
Initialisation options
setNumber Method
The text was updated successfully, but these errors were encountered:
Plugin version
v23.0.10
Steps to reproduce
frame.contentWindow.postMessage({call:'phone_number', value: "+573156614697"}, 'my twilio url');
)
Expected behaviour
this should set the set Number method with the variable that i'm sending
Actual behaviour
that just do nothing, and the input don't recieve my variable as input value.
i already check that the variable value (+573156614697) are getting received in my iframe correctly.
Initialisation options
setNumber Method
The text was updated successfully, but these errors were encountered: