Skip to content

fix(devtools): pass node to logValue to log the appropriate prop…#68027

Open
csmick wants to merge 1 commit intoangular:mainfrom
csmick:log-to-console
Open

fix(devtools): pass node to logValue to log the appropriate prop…#68027
csmick wants to merge 1 commit intoangular:mainfrom
csmick:log-to-console

Conversation

@csmick
Copy link
Copy Markdown
Contributor

@csmick csmick commented Apr 3, 2026

… to the console

The "Log to console" button in the prop-actions-menu component incorrectly logs the entire props object rather than the value of the individual prop with which the button is associated. Passing the node to the logValue function fixes the prop lookup logic and logs the appropriate prop value to the console.

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.dev application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

The "Log to console" button in the prop-actions-menu component incorrectly logs the entire props object rather than the value of the individual prop with which the button is associated.

Issue Number: N/A

What is the new behavior?

The "Log to console" button in the prop-actions-menu component incorrectly logs the appropriate prop value to the console.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@pullapprove pullapprove bot requested a review from hybrist April 3, 2026 21:31
@ngbot ngbot bot added this to the Backlog milestone Apr 3, 2026
…to the console

The "Log to console" button in the prop-actions-menu component incorrectly logs the entire props object rather than the value of the individual prop with which the button is associated. Passing the `node` to the logValue function fixes the prop lookup logic and logs the appropriate prop value to the console.
@csmick csmick changed the title fix(devtools): pass node to logValue` to log the appropriate prop… fix(devtools): pass node to logValue to log the appropriate prop… Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants