diff --git a/machines/templatetags/bootstrap_form_typeahead.py b/machines/templatetags/bootstrap_form_typeahead.py index b43af2c5..a5c58d00 100644 --- a/machines/templatetags/bootstrap_form_typeahead.py +++ b/machines/templatetags/bootstrap_form_typeahead.py @@ -211,7 +211,7 @@ def hidden_tag( f_bound, f_name ): 'id': hidden_id(f_name), 'name': f_name, 'type': 'hidden', - 'value': f_bound.value() + 'value': f_bound.value() or "" } )