Commits

Germano Gabbianelli committed a92e3ec

Fixed little rendering bug when reverse_label is False

  • Participants
  • Parent commits f1351fb

Comments (0)

Files changed (1)

File autocomplete/widgets.py

             hidden_value = force_unicode(value)
             value = autocomplete.reverse_label(self.ac_name, value)
         else:
-            value = force_unicode(value)
+            value = hidden_value = force_unicode(value)
         attrs = flatatt(self.build_attrs(attrs))
         return mark_safe(self.AC_TEMPLATE % locals())