Satit Rianpit
Satit Rianpit
HTML: ``` html ``` JavaScript: ``` javascript $('#txt_date').tooltip(); ``` when tooltip hidden, all input text was reset. but in v2.3.1 is work.
I create event for logout. ``` // app.component.ts events.subscribe('logout', () => { localStorage.removeItem('token'); this.rootPage = LoginPage; }); ``` now logout: ``` // pages/home/home.ts logout() { this.events.publish('logout'); } ```
My App: https://github.com/siteslave/chiangmai-demo-app/blob/master/src/pages/main/main.ts#L96-L100 ``` import { ... App, ... } from 'ionic-angular'; //=====================// logout() { localStorage.removeItem('token'); let nav = this.app.getRootNav(); nav.setRoot(LoginPage); } ```
Thanks @Jinnie. Data is loaded dynamically, now it work with this solution. 👍 **In v0.8.9 is work but v0.8.10-v0.8.12 don't work.**
Now it work with v0.8.12 👍 Thanks. :)
@Jinnie , In version 0.9.2, no errors were found. Is it a bug?
Thanks @adityarb88 👍
https://plnkr.co/edit/bSJNsxdWfkfG1wElLeMY?p=preview 
Me too. (version 2.0.8 work but 2.0.9 don't work) ``` FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring project ':fluttertoast'. > Failed to notify...