[select] Multiple select should support `FormData.getAll()`
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 99.1k
- Forks
- 32.5k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 106
Description
Steps to reproduce
Look at https://github.com/mui/material-ui/blob/master/packages/mui-material/src/Select/SelectInput.js#L869 observe that it puts a comma separated value into the native input value
Current behavior
comma separated value in FormData
Expected behavior
Either multiple values (multiple inputs) or else nothing at all (so we can do it ourselves)
Context
Submit a form built using MUI
Your environment
No response
Search keywords: textfield selectinput multiple
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in packages/mui-material/src/Select/SelectInput.js at the referenced line and reproduce form submission with a multiple Select. Verify how the value is serialized into FormData, then make the result expose multiple values through getAll() or omit the native value as requested, and confirm the expected behavior with the relevant Select form handling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100