mui / mui/material-ui

[Select] MenuItem is missing docs for the value prop

Open
#23,185 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

docs scope: select
Dominant language
JavaScript
Stars
99.1k
Forks
32.5k
Avg merge
2d 17h
Merged PRs (30d)
106

Description

The MenuItem docs don't mention the value prop at all, yet it is used on the Select multiple example in the docs. In fact, pairing down the example it works fine

I'm not getting the same effect in my application so I went to check the docs to see what happens if its an object and not a string and...no documentation.

Not filling out the rest of the template because this is a documentation bug, not a code bug.

Thanks for the cool library!

  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the MenuItem API documentation and compare it with the Select multiple example linked in the issue. Document the missing value prop, including the behavior users need to understand when its value is an object, and confirm the resulting docs explain the example clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.