Skip to content

fix: allow detail row with stdclass - #2023

Merged
luanfreitasdev merged 2 commits into
Power-Components:6.xfrom
MrYamous:fix/2019
Oct 29, 2025
Merged

luanfreitasdev merged 2 commits into
Power-Components:6.xfrom
MrYamous:fix/2019

Conversation

@MrYamous

Copy link
Copy Markdown
Contributor

⚡ PowerGrid - Pull Request

  • Bug fix
  • Enhancement
  • New feature
  • Breaking change

Description

If a row is a StdClass, transform it to collection to allow toArray() call

I'm currently struggling to add tests interacting with toggleDetail, maybe @luanfreitasdev you can give me some tips ?

Related Issue(s):

#2019

Documentation

This PR requires Documentation update?

  • Yes
  • No
  • I have already submitted a Documentation pull request.

@MrYamous

MrYamous commented Oct 24, 2025 •

Copy link
Copy Markdown
Contributor Author

Test added with a collection datasource and call toggleDetail()

@luanfreitasdev

Copy link
Copy Markdown
Member

Thank you @MrYamous !

@luanfreitasdev
luanfreitasdev merged commit 508a449 into Power-Components:6.x Oct 29, 2025
23 checks passed
@MrYamous
MrYamous deleted the fix/2019 branch November 2, 2025 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants