Skip to content

Conversation

soniiix
Copy link

@soniiix soniiix commented Oct 8, 2025

The 'actions' option expects a RowActionCollection object rather than an array.

The original code used ->add() inside an array, which is invalid; it now adds the LinkRowAction correctly.
@github-actions github-actions bot added the 9.x label Oct 8, 2025
The 'actions' option expects a RowActionCollection object rather than an array.
@soniiix soniiix changed the title Fix PHP syntax error in ActionColumn example Fix ActionColumn example to use RowActionCollection Oct 8, 2025
Copy link
Contributor

@kpodemski kpodemski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the pull request. I think you also have to remove ] from line 40?

@soniiix
Copy link
Author

soniiix commented Oct 8, 2025

Thanks for the pull request. I think you also have to remove ] from line 40?

You're absolutely right, fixed now. My bad, I admit the heavy nesting made it a bit confusing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants