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
If I send back a tag field with no content the form.validate() function should return False.
Instead, the function is returning True.
It is then left to Mongo to pick up the validation error and throw an exception.
ValidationError (Post:51ad4c74c47f3e07507984f4) (3.String value is too short: ['tags'])
The form.validate() function should validate the contents of ListField's.
The text was updated successfully, but these errors were encountered:
I have the following inside a document class
I use the model_form to create the form.
If I send back a tag field with no content the form.validate() function should return False.
Instead, the function is returning True.
It is then left to Mongo to pick up the validation error and throw an exception.
The form.validate() function should validate the contents of ListField's.
The text was updated successfully, but these errors were encountered: