Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

Problem with latest version (0.5.2) & wagtail 2.3 #57

Open
rafaponieman opened this issue Nov 30, 2018 · 4 comments
Open

Problem with latest version (0.5.2) & wagtail 2.3 #57

rafaponieman opened this issue Nov 30, 2018 · 4 comments

Comments

@rafaponieman
Copy link

I'm having a quite strange issue with the latest version.

CharFields with choices are giving me a validation error of this sort:

Select a valid choice. ['bottom-right'] is not one of the available choices.

Plus, BooleanFields appear to be showing up unchecked when editing an existing page, even though their value was True.

Thank you!!

@unexceptable
Copy link
Contributor

Also hitting this myself, rather annoying as it breaks our form page.

@kaedroho would this be a python or react code issue?

@jorenham
Copy link

jorenham commented Feb 7, 2019

I'm facing the same fatal bug

@wimfeijen
Copy link

wimfeijen commented Dec 7, 2019

Hi.

Just wanted to let you know that this occurs with Wagtail 2.7 + condensedinlinepanel 0.5.2 as well, unfortunately. I am using Django 2.2.8.

In addition:
I believe this has to do with django passing form entries as a list ['my_value'], which is converted to a string at some time, which gives the error.
Opening the condensed form solves the error, meaning the error only occurs in condensed forms.

wimfeijen added a commit to wimfeijen/wagtail-condensedinlinepanel that referenced this issue Dec 7, 2019
Update edit_handlers.py to use form['field_name'].value() because I believe this to be correct in Django 2.2.8
danickfort added a commit to danickfort/wagtail-condensedinlinepanel that referenced this issue Feb 1, 2022
@danickfort
Copy link

@kaedroho Could you please solve this issue using wimfeijen's PR #75 ?
It would also resolve #60 (same issue)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants