Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Three-valued Button state (type=three-valued) of the type attribute of the input element #10082

Closed
sergeyprokhorenko opened this issue Jan 22, 2024 · 0 comments
Labels
addition/proposal New features or enhancements needs implementer interest Moving the issue forward requires implementers to express interest

Comments

@sergeyprokhorenko
Copy link

What problem are you trying to solve?

This new feature should be used instead of a checkbox, for example, to apply or prohibit the specified search criterion from an automatically generated list of criteria.

What solutions exist today?

There are only homemade solutions now that are similar to my proposal, for example, in Nigma search engine:
Nigma

How would you solve it?

The input element represents a control that implements the three-valued logic.

Three-valued button states

The true state is equivalent to the checked state of the checkbox.
The unknown state is equivalent to the unchecked 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 the undefined 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)

Anything else?

No response

@sergeyprokhorenko sergeyprokhorenko added addition/proposal New features or enhancements needs implementer interest Moving the issue forward requires implementers to express interest labels Jan 22, 2024
@sergeyprokhorenko sergeyprokhorenko closed this as not planned Won't fix, can't repro, duplicate, stale Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addition/proposal New features or enhancements needs implementer interest Moving the issue forward requires implementers to express interest
Development

No branches or pull requests

1 participant