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 request] filter/choice chip form builder #186

Closed
VOIDCRUSHER opened this issue Dec 3, 2019 · 4 comments
Closed

[feature request] filter/choice chip form builder #186

VOIDCRUSHER opened this issue Dec 3, 2019 · 4 comments

Comments

@VOIDCRUSHER
Copy link
Contributor

Oftentimes in mobile applications, we have the same use case for a radio buttons and checkbox lists but would like to make more efficient use of the available screen space. In these cases, we might use a fixed set of filter chips to replace a checkbox list and a fixed set of choice chips to replace a busy radio button or segmented control bar.

This would a request for a FormBuilderFilterChip and FormBuilderChoiceChip classes with the same form behavior as FormBuilderCheckBoxList and FormBuilderRadio but as a wrapped set of chips constructed from a set of FormBuilderFieldOptions.

@danvick
Copy link
Collaborator

danvick commented Dec 5, 2019

Yeah, I'm aware of this. I was planning to have something close to multiselect_formfield

@VOIDCRUSHER
Copy link
Contributor Author

I'm on the fence about multiselect_formfield because while it does compress the form input for display, it also forces the end user to work with a drop list, limiting usability past 12 options. I have a FormBuilderChoiceChip and FormBuilderFilterChip that I'm currently working with. I can submit a PR if you'd like to take a look at it.

@danvick
Copy link
Collaborator

danvick commented Dec 5, 2019

A PR's much welcome.

@VOIDCRUSHER
Copy link
Contributor Author

#196 Is available for feedback

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

2 participants