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

using an AutoComplete in two different pages (1.4.17) #8

Open
stephane-wis opened this issue Apr 17, 2014 · 0 comments
Open

using an AutoComplete in two different pages (1.4.17) #8

stephane-wis opened this issue Apr 17, 2014 · 0 comments

Comments

@stephane-wis
Copy link

When having the same AutoComplete (bind to the same value of the Data Model) in two different pages, after having data (which is an Object) in the first page, when moving to the second page the AutoComplete logs an error in the console telling it cannot bind to the Object.
I could not try this in 1.5.1, sorry.
The workaround we implemented is to save the Object in a tmpVar at $dataready time and to clear the Object (=null). At $viewready time we restore the tmpVar in the Data Model, which triggers the binding of the AutoComplete, updating the value displayed without logging any error. Hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant