-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Package version (if known): v2.2.0
Describe the bug
It is impossible to generate a create form containing an array field with primitive data type items. (e.g. List(String())
)
In the array.js file at this line, it is automatically assumed that the array type field definition contains items.properties
, which is not true for primitive datatype arrays, as can be seen in marshmallow_utils
Steps to Reproduce
- Create a model field with
List(String())
marshmallow definition - Create a new form field in the CreateView for this model field
- Open the create form in browser
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working