Skip to content

fix BitFieldCheckboxSelectMultiple for new form - #35

Merged
dcramer merged 2 commits into
disqus:masterfrom
habfast:patch-1
May 11, 2015
Merged

fix BitFieldCheckboxSelectMultiple for new form#35
dcramer merged 2 commits into
disqus:masterfrom
habfast:patch-1

Conversation

@habfast

@habfast habfast commented Feb 24, 2014

Copy link
Copy Markdown

In the admin, when creating a new form, the default is the integer version of the value, which cannot be looped over in CheckboxSelectMultiple.render() (raises an Error). This converts the integer value to Array. Works with default=X, X being an integer or an array of flags.

habfast added 2 commits February 24, 2014 22:33
In the admin, when creating a new form, the default is the integer version of the value, which cannot be looped over in CheckboxSelectMultiple.render() (raises an Error). This converts the integer value to Array. Works with default=X, X being an integer or an array of flags.
@johnboiles

Copy link
Copy Markdown

Looks like this replaces #32 and fixes #28.

Thanks for writing this fix. Breaking the ability to add new items via admin seems like a very serious bug.

@decaz

decaz commented Sep 12, 2014

Copy link
Copy Markdown

Does anyone merge this fix?

@LukeSkyw

Copy link
Copy Markdown

Hi, can a maintainer merge this request. I have a similar problem. Impossible to add en entry which has a bitfield.

dcramer added a commit that referenced this pull request May 11, 2015
fix BitFieldCheckboxSelectMultiple for new form
@dcramer
dcramer merged commit 24126a0 into disqus:master May 11, 2015
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

Successfully merging this pull request may close these issues.

5 participants