mui / mui/material-ui

[material-ui][Filled Input] Undocumented non-themeable values

Open
#40,962 5 comments 1 reaction 1 assignee View on GitHub

Nobody has claimed this yet.

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

Description

Steps to reproduce

Link to live example: https://github.com/mui/material-ui/blob/0b38955227cf4fc879fea5c8d23e167a5b9c4936/packages/mui-material/src/FilledInput/FilledInput.js#L45-L49
and e.g.
https://github.com/mui/material-ui/blob/0b38955227cf4fc879fea5c8d23e167a5b9c4936/packages/mui-material/src/FilledInput/FilledInput.js#L52

Nothing to reproduce.

Current behavior

After searching for hours where the background colors for the FilledInput come from, I finally started to read the code of the FilledInput and found that it has a wierd an completely undocumented way on how to theme it (or at least I was not able to find any documentation about it).

So maybe the issue is Make the FilledInput use variables from theme or
Missing documentation about

Expected behavior

Documentation on how to customize FilledInput or a FilledInput that uses default theme values

Further question:
Isn't the palette.action exactly for this case but not used?

Search keywords: FilledInput, background

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.