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

paper-checkbox should have an indeterminate state #1749

Closed
KyLeggiero opened this issue Jun 4, 2015 · 2 comments
Closed

paper-checkbox should have an indeterminate state #1749

KyLeggiero opened this issue Jun 4, 2015 · 2 comments
Assignees

Comments

@KyLeggiero
Copy link

For lists with a "Select All" checkbox, or for displays like this compatibility matrix, an in-between (commonly called indeterminate) state is necessary. Microsoft gives a great example of how this should happen:

A list titled "Pizza Toppings", with "Select All" indeterminate, "Pepperoni" and "Mushrooms" as unchecked, and "Beef" and "Onions" checked

I propose the following addition:

<paper-checkbox indeterminate> label</paper-checkbox>

Where this will always give the checkbox an indeterminate state. This might override the checked state, so the following:

<paper-checkbox indeterminate> label</paper-checkbox>
<paper-checkbox checked indeterminate> label</paper-checkbox>
<paper-checkbox indeterminate checked> label</paper-checkbox>

would all render exactly the same way.

@andreleblanc-wf
Copy link

@BenLeggiero you should file this against the paper-checkbox repo.

https://github.com/PolymerElements/paper-checkbox/issues

@KyLeggiero
Copy link
Author

@andreleblanc-wf alright, resubmitted as paper-checkbox issue 33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants