nova-issues icon indicating copy to clipboard operation
nova-issues copied to clipboard

Doesnt work delete button on nova 2.4.0

Open rvslan opened this issue 7 years ago • 16 comments

  • Laravel Version: 5.8.35

  • Nova Version: 2.4.0

  • PHP Version: 7.3

  • Database Driver and Version: mysql Schermata 2019-10-04 alle 20 05 39

  • Operating System and Version: mac

  • Browser type and version: Chrome.77

  • Reproduction Repository: https://github.com/###/###

Description

Before 2.4.0 I had 2.1.1 I migrated to 2.4.0 and now the opening on modal after click delete button doesnt work

Steps To Reproduce

rvslan avatar Oct 04 '19 18:10 rvslan

Facing this same issue on 2.4.1

m2jobe avatar Oct 04 '19 18:10 m2jobe

@ganduras Did you figure out why this was occurring?

m2jobe avatar Oct 04 '19 18:10 m2jobe

php artisan nova:publish

rvslan avatar Oct 04 '19 18:10 rvslan

Has this been fixed already? We're still running on 2.3.1 because of this.

notflip avatar Oct 18 '19 09:10 notflip

Having the same problem in version 2.5. Delete button in the list view is broken. Works in the details view.

In a list view the last item can still be deleted, all others are broken.

Tried republishing but not working.

Any ideas?

stephanvd avatar Oct 28 '19 05:10 stephanvd

Same issue here even after republishing the assets

valentinfily avatar Oct 29 '19 14:10 valentinfily

Having this issue on 2.5 as well.

notflip avatar Oct 30 '19 08:10 notflip

In my case, problem was fixed with firing php artisan nova:publish.

Nova version: 2.5.0

KangYoosam avatar Nov 25 '19 01:11 KangYoosam

this is not fixed with php artisan nova:publish laravel: 6.4.1 nova: 2.6.1

any solutions?

applyACS avatar Nov 29 '19 19:11 applyACS

@applyACS try using the --force parameter: php artisan nova:publish --force.

jbrooksuk avatar Dec 04 '19 11:12 jbrooksuk

I'm on 2.10.1 and the delete button isn't working for me either. php artisan nova:publish --force doesn't seem to help. The button doesn't have an anchor tag around it while the edit and view button do, not sure if that's by design.

UPDATE: Only the last item in the list can be deleted

tumispro avatar Feb 26 '20 12:02 tumispro

Just upgraded after being locked at 2.1 all this time.

Our problem was due to the package nova-left-resource-index-links using a variation on an old version of Nova's views. Removing the package fixed it for us.

You might want to check if any of your installed packages overwrite Nova views.

stephanvd avatar Mar 09 '20 04:03 stephanvd

Ah, for me the problem was the nova-nested-form package. Thanks!

Steps:

  • Removed all packages -> delete button worked
  • Reinstalled them in batches until delete button broke again

tumispro avatar Mar 09 '20 10:03 tumispro

Having this issue as well. Any solutions besides what has been mentioned?

jasonlav avatar Feb 23 '21 19:02 jasonlav

Previously, I met same issue and solved by configuring nginx configuration file. The project baseurl was incorrect so delete button URL was not working correctly. Please check your server configuration file.

bostnis avatar Feb 23 '21 19:02 bostnis

This does not appear to be the issue in this case. There is a delete button element, but clicking it does nothing. As previously reported above, only the last row on the index page can be deleted with the button. This would not indicate any issues with nginx.

jasonlav avatar Feb 23 '21 19:02 jasonlav