Comments (3)
@sergeyprokhorenko Material UI checkboxes already support 3 states - checked (true
), unchecked (false
), and indeterminate or mixed (which would correspond to your unknown
state)
For the 4th visual state ("all") you are proposing, do you have some more examples of this in the wild? (It could be a simple customization in userland but I'm just thinking out loud)
It could also be addressed by: #38036
from material-ui.
@mj12albert I can't agree with you. See this article: Indeterminate checkboxes are weird
You will never see an individual checkbox in the indeterminate
state. But it is the unchecked
state that means the absence of any conditions or requirements. The unchecked
state means unknown, and not prohibited. Therefore, it is necessary to add a prohibiting state false
.
The indeterminate
state does not refer to any one individual checkbox. It refers only to a group checkbox and means that the checkboxes in the group can be in any state. I call this state all
(states of buttons in the group).
from material-ui.
from material-ui.
Related Issues (20)
- [material-ui][Autocomplete] Due to the multiple option value the input field size getting larger
- [material-ui][Autocomplete] Value not shown after object reaching the condition it should HOT 7
- [docs-infra] Create a custom 404 page for the docs
- [material-ui][docs] Missing icon and installation instructions in new landing page template HOT 3
- [joy-ui][Modal] How to put it in the top of the screen (vertical positioning)? HOT 6
- [docs] Demo MultipleSelect crashes
- [material-ui][Autocomplete] Requiring double escape key press to trigger `clearOnEscape` HOT 6
- [material-ui][Autocomplete] Dropdown arrow visible with readOnly prop set to true
- [docs] Deprecated TablePagination SelectProps usage HOT 4
- [material-ui] Next.js compatibility HOT 5
- The "AppsRounded" icon isn't rounded at all (@mui/icons-materia)
- [material-ui][SpeedDial] Bug with right/left direction in persistent action tooltips HOT 6
- [system] getColorSchemeSelector() move away from data-color-scheme "attribute value" selector HOT 2
- [system][material-ui] Stabilize CssVarsProvider HOT 10
- [system] Missing dependency on @babel/runtime in Next.js App Router integration HOT 4
- [docs-infra] Style external (target blank) links differently HOT 3
- [docs-infra] Improve type naming on the API pages HOT 6
- [material-ui][Radio Group] Classnames on the API page are incorrect HOT 1
- NPM hangs when installing material-icons from behind a proxy HOT 3
- Can not add custom color to SvgIcon HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from material-ui.