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

Field 'id' expected a number but got ['99']. #79

@gassan

Description

@gassan

If I have some ChoiceWidget on the formset. So prepares the function self.empty_form[field_name].field.widget.format_value(self.empty_form[field_name].value())
an array [99] for that value. Here are for example 2 Choice fields: food' and unit: {'food': ['99'], 'qty': '6', 'unit': ['2'], 'block': '0', 'extra': '', 'id': '82', 'ORDER': '1', 'DELETE': None}.
That error occurs when the form is sent without having edited anything

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions