Row Action Issue: Incorrect Record Selection
Hello everyone, I hope you can assist me with a behavior issue I'm encountering when using a row action.
What I am trying to do: I want to retrieve the current record when I click the button.
What I did: I created a simple row action.
My issue/the error: When I click the buttons, it fetches a different record instead of the selected one. Strangely, it seems to send the correct ID when posting, and the ID shown in the tooltip is as it should be.
Code:
2 Replies
Did you try using $record ?
Hello again, I solved my problem and I want to share it in case others experience the same issue. It seems like the problem originates from the getTabs method.
When I changed it to:
my problem was solved.
It’s very interesting, but it seems to have solved my problem.
Yes. I've tried everything imaginable.