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

[Feature]: Indeterminate checkbox value with AutoForm #991

Open
2 tasks
modbender opened this issue Jan 5, 2025 · 0 comments
Open
2 tasks

[Feature]: Indeterminate checkbox value with AutoForm #991

modbender opened this issue Jan 5, 2025 · 0 comments

Comments

@modbender
Copy link

Describe the feature

I want to use indeterminate checkbox value with AutoForm, but I don't see any native way to do this yet. Requires modifying component.

I'm imagining something like setting props checkedValue and uncheckedValue, by default it will be boolean but it can be made to use string or other type of values. Setting indeterminateValue switches on indeterminate on checkbox.

Use case: supposedly in an advanced search of books, I want to filter genre of the books. I want to include some genres, I don't care about some genres and I want to exclude some genres from results.

include -> checked
don't care -> unchecked
exclude -> indeterminate

Additional information

  • I intend to submit a PR for this feature.
  • I have already implemented and/or tested this feature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant