I have been trying to customize the edit view inside react-admin. Basically, I need to open a modal on a button click (button resides on show-view), the modal should have one form field. After the data is filled, clicking on save button should trigger a PATCH request.
I have seen a bunch of tutorials for POST request(custom create view inside a modal) but couldn't find any relevant links for Edit view(PATCH request).
Any help/hints will be appreciated.
TIA.