I have been trying to pass an object when opening a dialog to be able to edit it by calling the API with a put but when opening the dialog it appears as undefined even putting a console.log where it shows that I am having a good time.
Please help and thanks in advance.