-
Notifications
You must be signed in to change notification settings - Fork 2.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
All buttons except "Save" work incorrectly on 3.0.0.rc #3468
Comments
Sorry for the issue, this is annoying. Should be related to the introduction of Turbo Drive #3461. |
Thank you so much for your quick reply and fix. I tried this branch on the application I have tested yesterday, and also on a new, minimum application newly created for reproducing this issue (https://github.com/ha4gu/rails-admin-3468). |
Since you're using Webpacker, you need to update JS dependency as well. By using your repo I could confirm that this fix works, so pushed it to the master. You can try it by changing the package.json to - "rails_admin": "3.0.0-rc",
+ "rails_admin": "git+ssh://[email protected]/railsadminteam/rails_admin.git", Thank you for reporting! |
Oh sorry, oops, I made a silly mistake. |
Describe the bug
When create and update an instance through Rails Admin, "Save and add another", "Save and edit", and even "Cancel" buttons always just save the instance and moves to the list page, as same as using "Save" button.
This behavior didn't occur on 3.0.0.beta2. Occurs on 3.0.0.rc, and current master.
Reproduction steps
Create a new Rails application and just install and setup Rails Admin 3.0.0.rc following the installation process written on the README.
Expected behavior
Additional context
rails 6.1.4.6
rails_admin 3.0.0.rc and current master (3d7f3b3), with
config.asset_source = :webpacker
inconfig/initializers/rails_admin.rb
turbo-rails 1.0.1
webpacker 5.4.3
The text was updated successfully, but these errors were encountered: