redirect does not work
Hi Chris,
regarding the user crud example:
When I want to add a new user and click on the "save" button,
- the page gets freezing and the redirection to the "show" page doesn't take place
- the "back" button doesn't work after that has happened too
- the flash message does not flash.
The user has correctly inserted into database and there is no error message. Removing the phx-disable on submit doesn't solve the issue.
I got the same behaviour within an app of mine.
So, is there maybe an issue with redirecting in live view or another issue?
It's a fixed LiveView issue.
I just made a PR to fix this example as well at #36.
Basically, you just need to remove the line of "phoenix_live_view" in mix.lock and fetch latest version of Phoenix LiveView, then problem should be resolved.
mix deps.update phoenix_live_view is the simpler way to do that.