We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If you use NavController to push a new View, IONIC will treat this behavior like we change the View, the ionViewCanLeave will trigger.
It's not make sense for this case, we just open a dialog to choose some items and we don't want to push the new View.
When I need to check the Form is dirty or not I met this issues : The event ionViewCanLeave will trigger every time this control opened.
My solution is : change from NavController to Modal dialog.
The text was updated successfully, but these errors were encountered:
Hi, I see... It seems like it would be better to use Modal rather than Page. I'll try to find some time to implement it.
Modal
Page
Sorry, something went wrong.
52bc979
@GFoley83 thanks a lot for the PR, it saved me time 👍
Version 1.1.1 now has useModal parameter with true as default value: https://github.com/eakoriakin/ionic-select-searchable/wiki/API-Documentation#usemodal
1.1.1
useModal
true
No branches or pull requests
If you use NavController to push a new View, IONIC will treat this behavior like we change the View, the ionViewCanLeave will trigger.
It's not make sense for this case, we just open a dialog to choose some items and we don't want to push the new View.
When I need to check the Form is dirty or not I met this issues :
The event ionViewCanLeave will trigger every time this control opened.
My solution is : change from NavController to Modal dialog.
The text was updated successfully, but these errors were encountered: