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

Checkbox (select multiple) rendered incorrectly from form creation page #308

Open
joshuata opened this issue May 25, 2023 · 13 comments
Open

Comments

@joshuata
Copy link

Currently if you create a question that uses checkboxes, it is rendered as radio buttons rather than a checkbox

@palmitoto
Copy link

I've noticed the same problem in the latest release. Any information on this problem?

@joshuata
Copy link
Author

joshuata commented Nov 7, 2023

I have actually migrated away from this project partially due to bugs like these, so I cannot give you more information

@palmitoto
Copy link

Which project did you migrate to?

@joshuata
Copy link
Author

joshuata commented Nov 7, 2023

I wrote my own package. I am looking into releasing it as open source, but currently it is pretty specialized to my own needs

@barseghyanartur
Copy link
Owner

It looks like there has been a change on Django side related to rendering of the django.forms.widgets.CheckboxSelectMultiple widget, which is used for the checkbox rendering.

@barseghyanartur
Copy link
Owner

@palmitoto, @joshuata

I think writing a new package might be an extreme measure.

django-fobi is highly pluggable. If you don't like a plugin, you can make your own. In this case, it's about this one:

checkbox_select_multiple.

@palmitoto
Copy link

@palmitoto, @joshuata

I think writing a new package might be an extreme measure.

django-fobi is highly pluggable. If you don't like a plugin, you can make your own. In this case, it's about this one:

checkbox_select_multiple.

I was simply curious to know which project he had migrated to.

@joshuata
Copy link
Author

joshuata commented Nov 8, 2023

I ended up writing my own since we were already struggling to make fobi work in our project. We wanted a lot more control over how to save items to the database, and a far more complicated permissions system. The specific constraints of our application is also one of the reasons I haven't done the work to open source it, since I don't think many other users will have the same requirements

@barseghyanartur
Copy link
Owner

The issue is identified. The fix is ready. I'll release a fix soon.

@matacino
Copy link

matacino commented Mar 21, 2024

Hi,
can you estimate a release-date for the fix?

@ErikMHummel
Copy link

Is this fix complete?

@barseghyanartur
Copy link
Owner

Not yet. I'm sorry for the delay. I'll try to allocate time for it.

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

5 participants