-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
DeleteButton doesn't work #578
Comments
My mistake in the client:
This was the reason why the DELETE request was sent as GET because the information with the method from the options parameter was removed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
API Platform version(s) affected: x.y.z
Backend: v3.2.13
Admin: 3.4.9
Description
doesn't work for the list of items. I can click on them and send the get collection or the get request, but don't send a delete request. The element is removed from the list but after a few seconds the list is refreshed and is again on the list.
How to reproduce
I created a list in this way:
I can click on the button, but the DELETE request isn't sent.
Possible Solution
I can guess that the dataProvider has some issues. Or this button as a component from react-admin isn't supported.
Additional Context
I used custom authorization and data provider.
The text was updated successfully, but these errors were encountered: