barseghyanartur / django-fobi

Form generator/builder application for Django done right: customisable, modular, user- and developer- friendly.
https://pypi.python.org/pypi/django-fobi
485 stars 112 forks source link

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

Open joshuata opened 1 year ago

joshuata commented 1 year ago

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

palmitoto commented 9 months ago

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

joshuata commented 9 months ago

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

palmitoto commented 9 months ago

Which project did you migrate to?

joshuata commented 9 months ago

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 commented 9 months ago

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 commented 9 months ago

WIP/under investigation in https://github.com/barseghyanartur/django-fobi/tree/fix/308-checkbox-select-multiple-rendered-incorrectly-from-form-creation-page.

barseghyanartur commented 9 months ago

@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 commented 9 months ago

@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 commented 9 months ago

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 commented 9 months ago

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

matacino commented 5 months ago

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

ErikMHummel commented 3 months ago

Is this fix complete?

barseghyanartur commented 3 months ago

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