Skip to content

docs(aria): add required 'value' to ngMenuItem json#65721

Closed
msmallest wants to merge 1 commit into
angular:mainfrom
msmallest:ngMenuItem-value
Closed

docs(aria): add required 'value' to ngMenuItem json#65721
msmallest wants to merge 1 commit into
angular:mainfrom
msmallest:ngMenuItem-value

Conversation

@msmallest

@msmallest msmallest commented Nov 30, 2025

Copy link
Copy Markdown
Contributor

The value is a required input. Without it, menu.ts will throw the error "Required input 'value' from directive MenuItem must be specified."

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?

Issue Number: N/A

What is the new behavior?

value for each ngMenuItem in the API entries

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

The Aria menu package's jsdocs were also missing the values, so there is an associated PR in its repo: angular/components#32440

The `value` is a required input. Without it, `menu.ts` will say "Required input 'value' from directive MenuItem must be specified.
@pullapprove pullapprove Bot requested a review from thePunderWoman November 30, 2025 01:06
@angular-robot angular-robot Bot added the area: docs Related to the documentation label Nov 30, 2025
@ngbot ngbot Bot added this to the Backlog milestone Nov 30, 2025
@JeanMeche

JeanMeche commented Nov 30, 2025

Copy link
Copy Markdown
Member

Those files are automatically generated from the JSdocs on the components repo. Can you please open a PR there ?

https://github.com/angular/components/blob/2c0ba8d1498512b1192ccc79476f123a03658a72/src/aria/menu/menu.ts#L129-L133

@JeanMeche JeanMeche closed this Nov 30, 2025
@michael-small

Copy link
Copy Markdown
Contributor

Sounds good, got one open there angular/components#32440

@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Dec 31, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area: docs Related to the documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants