mui / mui/material-ui

[material-ui][Select][Radio] Please enable the Select Option value and radio buttons to accept any value

Open
#40,484 8 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

scope: radio scope: select type: enhancement type: expected behavior typescript waiting for 👍
Dominant language
JavaScript
Stars
99.1k
Forks
32.5k
Avg merge
2d 17h
Merged PRs (30d)
106

Description

What's the problem?

We are using the react hook form each time we have a different schema and because of that we face issues with MUI example schema accepts boolean values or null and the component that we are using is select that accepts only string | number | readonly string[] | undefined

What are the requirements?

Return the same value that is passed to the select or radio options without conversion to string

What are our options?

Fallbacks that I didn't like and the solution should be fixed from the library why limiting the library to be reusable with different tools

Proposed solution

No response

Resources and benchmarks

No response

Search keywords:

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

The issue names the Select and Radio components but no files or tests. Start by tracing how each component handles option values, then inspect their current tests for string conversion behavior. Done means both components preserve boolean and null option values without conversion, with regression coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.