django-fobi icon indicating copy to clipboard operation
django-fobi copied to clipboard

Checkbox (select multiple) rendered incorrectly from form creation page

Open joshuata opened this issue 1 year ago • 13 comments

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

joshuata avatar May 25 '23 15:05 joshuata

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

palmitoto avatar Nov 07 '23 17:11 palmitoto

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

joshuata avatar Nov 07 '23 19:11 joshuata

Which project did you migrate to?

palmitoto avatar Nov 07 '23 20:11 palmitoto

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

joshuata avatar Nov 07 '23 20:11 joshuata

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 avatar Nov 07 '23 21:11 barseghyanartur

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

barseghyanartur avatar Nov 08 '23 00:11 barseghyanartur

@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.

barseghyanartur avatar Nov 08 '23 08:11 barseghyanartur

@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.

palmitoto avatar Nov 08 '23 09:11 palmitoto

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

joshuata avatar Nov 08 '23 18:11 joshuata

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

barseghyanartur avatar Nov 10 '23 22:11 barseghyanartur

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

matacino avatar Mar 21 '24 10:03 matacino

Is this fix complete?

ErikMHummel avatar May 10 '24 14:05 ErikMHummel

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

barseghyanartur avatar May 10 '24 23:05 barseghyanartur