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
When specifying a scope option on ionicPopup.prompt, I need to return variables from scope.$$childTail in a buttons onTap function. It appears that a child scope is created and used instead of the scope I specify.
Hey @danielzen, this is a symptom/feature of how Angular passes mutable objects differently than non-mutable objects like strings. If you're trying to pass strings between popup's like this, you want to pass and object who has a string property. See the following example: http://codepen.io/perrygovier/pen/tyhrl
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
When specifying a scope option on ionicPopup.prompt, I need to return variables from
scope.$$childTail
in a buttons onTap function. It appears that a child scope is created and used instead of the scope I specify.See http://codepen.io/danielzen/pen/LFKjl/ for example and
#1589 for why I was working on this in the first place.
The text was updated successfully, but these errors were encountered: