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

feat(NCheckbox): add indeterminate option on checkbox component #121

Open
KumJungMin opened this issue Mar 22, 2024 · 0 comments
Open

feat(NCheckbox): add indeterminate option on checkbox component #121

KumJungMin opened this issue Mar 22, 2024 · 0 comments
Labels
c: component 🏝️ Related to ui component c: feature 🚀 Request for new feature s: pending triage Pending Triage

Comments

@KumJungMin
Copy link

🆒 Your use case

  • indeterminate is useful on checkbox group.
  • for example, checkbox has multiple sub checkboxes.
  • we should use to indeterminate to display when any of the sub-checkboxes are checked.
스크린샷 2024-03-22 오전 11 15 31

🆕 The solution you'd like

Add Props or Checkbox Group

  • please add indeterminate on checkbox component or checkbox group.

Excepted Function

  • When you click the indeterminate checkbox, it is either unchecked or checked.
  • When in indeterminate mode, checked props are ignored.
  • If you create a checkbox group, it must be indeterminate when any of the child checkboxes are checked.

🔍 Alternatives you've considered

No response

ℹ️ Additional info

  • indeterminate is established and works many devices and browser versions.
  • It’s been available across browsers since January 2020. (mdn docs)
  • The indeterminate refers to the state of being neither checked nor unchecked.
  • Because it officially provides indeterminate, Developers expect checkboxes to provide indeterminate option.
  • So, i suggest indeterminate option on Checkbox component.
  • Thank you for read this suggestion. have a nice day :)
@KumJungMin KumJungMin added the s: pending triage Pending Triage label Mar 22, 2024
@KumJungMin KumJungMin changed the title feat: add indeterminate option on checkbox component feat(NCheckbox): add indeterminate option on checkbox component Mar 22, 2024
@phojie phojie added c: feature 🚀 Request for new feature c: component 🏝️ Related to ui component labels Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: component 🏝️ Related to ui component c: feature 🚀 Request for new feature s: pending triage Pending Triage
Projects
None yet
Development

No branches or pull requests

2 participants