You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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_utilsSteps to Reproduce
List(String())
marshmallow definitionThe text was updated successfully, but these errors were encountered: