[Button] Add three-valued button #40736
Labels
component: toggle button
This is the name of the generic UI component, not the React module!
new feature
New feature or request
waiting for 👍
Waiting for upvotes
Search keywords
three-valued button checkbox
Latest version
Summary
The three-valued button represents a control that implements the three-valued logic.
The
true
state is equivalent to thechecked
state of the checkbox.The
unknown
state is equivalent to theunchecked
state of the checkbox.The
false
state has no equivalent for the checkbox. This state means prohibition of the specified search criterion.The
all
state is equivalent to theundefined
state of the checkbox.These states must be looped (but it is preferable to use a dropdown list/menu of states):
unknown
->true
->false
->unknown
all
->true
->false
->unknown
->all
(for group button)Examples
There are only homemade solutions now that are similar to my proposal, for example, in Nigma search engine:
Motivation
This new feature should be used instead of a checkbox, for example, to apply or prohibit the specified search criterion from a list of criteria.
The text was updated successfully, but these errors were encountered: