-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
v4: Unexpected reactive form submit behavior #14786
Comments
I've upgraded to the latest Ionic 4 release and created an example app with one test page and one simple angular reactive form: https://github.com/Cymetrik/ionic4-form. There's now an additional issue where clicking the submit button refreshes the whole page.
|
@matthew-valenti Any help in solving the issue is greatly appreciated. |
@matthew-valenti
Here is the modified submit method in TS:
|
Can confirm this issue is there also. This issue blocks me from updating to v4 really since, without functioning forms, most existing apps are going to be a pain to migrate over. |
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. |
Bug Report
Describe the Bug
Unclear if these are Angular or Ionic issues. Works in Ionic 3.
Steps to Reproduce
Steps to reproduce the behavior:
Related Code
test.page.html
test.page.ts
test.module.ts
Expected Behavior
The text was updated successfully, but these errors were encountered: