-
Notifications
You must be signed in to change notification settings - Fork 293
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
redirect after create fails #46
Comments
Take note that bootstrap was updated to v4 in this latest code so classes like "has-error" are gone and I now get flashing for validation but I just comment out the @Html.ValidationDiv() and go back to the original validation. As I work my way thru learning this new architecture (which I like very much!!!) ... I'll see if I an fix it and make a PR for others running into this issue. This works for me for now
|
Something in this method or sub-methods was throwing an error stating that it could not find _.reject(). I found this by adding the alert statement to the catch.
To fix this, I had to replace the following.
with this
Hope this helps. |
Not sure if I have done something wrong or if there is a setting I have missed. I grabbed your master branch and it is doing the same.
Repro:
The redirect triggers and you now see json on the page:
{"redirect":"/Students"}
on the URL:https://localhost:44375/Students/Create
I would have expected to navigate back to the Student Index page.
The text was updated successfully, but these errors were encountered: