Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ons-dialog angular variable is not rendered at first call #1609

Closed
ctc opened this issue Sep 30, 2016 · 1 comment
Closed

ons-dialog angular variable is not rendered at first call #1609

ctc opened this issue Sep 30, 2016 · 1 comment

Comments

@ctc
Copy link

ctc commented Sep 30, 2016

Environment
Onsen 2
Angular 1.5.5
Newest Version of Chrome

Sample:
https://codepen.io/anon/pen/BLdAvV?&editors=101
Sample is based at: https://onsen.io/tutorial/?framework=angular1&category=Reference&module=dialog

Click at "From template"

First call: {{variable}} is not filled with value
2nd call: {{variable}} is replaced with "value"

@argelius
Copy link
Contributor

@ctc Thanks for reporting!

This has been fixed now and will be released with the next version. In the meanwhile you can just do something like $scope.$evalAsync() after creating the dialog to refresh the view.

@lock lock bot added the outdated label May 17, 2018
@lock lock bot locked as resolved and limited conversation to collaborators May 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants