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

Commit

Permalink
Fixes data required validator for quill field
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Sommerhalder committed Mar 25, 2019
1 parent 4866fb0 commit 20ea847
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion onegov/gazette/forms/notice.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from onegov.gazette.models import Issue
from onegov.gazette.models import Organization
from onegov.quill import QuillField
from onegov.quill.validators import HtmlDataRequired
from sedate import as_datetime
from sedate import standardize_date
from sedate import utcnow
Expand Down Expand Up @@ -94,7 +95,7 @@ class NoticeForm(Form):
tags=('strong', 'ol', 'ul'),
validators=[
InputRequired(),
DataRequired(),
HtmlDataRequired(),
]
)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def get_long_description():
'onegov.foundation',
'onegov.notice>=0.10.0',
'onegov.pdf>=0.5.0',
'onegov.quill>=0.3.2',
'onegov.quill>=0.5.0',
'onegov.shared',
'onegov.user>=0.18.0',
'python-dateutil',
Expand Down

0 comments on commit 20ea847

Please sign in to comment.