mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-26 17:24:23 -04:00
Get the BooleanField working in the form.
This commit is contained in:
@@ -517,7 +517,8 @@ class Whitelist(Form):
|
||||
label="Mobile numbers"
|
||||
)
|
||||
|
||||
|
||||
class DateFilterForm(Form):
|
||||
start_date = DateField("Start Date", [validators.optional()])
|
||||
end_date = StringField("End Date", [validators.optional()])
|
||||
include_from_test_key = BooleanField("Include test keys", default='checked')
|
||||
end_date = DateField("End Date", [validators.optional()])
|
||||
include_from_test_key = BooleanField("Include test keys", default="checked", false_values={"N"})
|
||||
|
||||
Reference in New Issue
Block a user