-
Notifications
You must be signed in to change notification settings - Fork 3k
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
controller tries to revalidate a form after exiting state #2575
Comments
Any chance you could boil it down to a smaller example as there is a lot of code to go through |
I went through the trouble of spinning up a vm and cloning this repo @royair do I need credentials to login or something to even reproduce this? |
Hi @christopherthielen i have created a new branch to reflect the issue regarding creds, you can use: once installed (1. clone project 2. npm i 3. npm start) |
dupe #2579 |
hi, i have a dummy angular's blog project:
the state hierarchy goes like this:
under edit.html (state: admin.edit) i have a form named 'postForm' with some validation on it.
for some reason, when exiting the state using ui-sref="admin.list" - angular tries to digest the old state, with no success of course, since 'postForm' does no longer exists thus no validation can be performed.
have any idea why ui-router tries to digest old state when exiting?
p.s.
validation works fine.
the project can be found here:
https://github.com/royair/blog/
to install:
thanks in advance!
The text was updated successfully, but these errors were encountered: