From 7666e781e5196dc236cb4d665e5e1d6efbad3526 Mon Sep 17 00:00:00 2001 From: Florent Lebreton Date: Wed, 20 Nov 2013 15:46:40 +0100 Subject: [PATCH] Widget should not behave as a hidden field --- jsignature/widgets.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jsignature/widgets.py b/jsignature/widgets.py index 1c7274a..1042a6f 100644 --- a/jsignature/widgets.py +++ b/jsignature/widgets.py @@ -17,6 +17,10 @@ class JSignatureWidget(HiddenInput): A widget handling a signature capture field with with jSignature """ + # Actually, this widget has a display so we want it to behave like a + # normal field, not a hidden one + is_hidden = False + class Media: js = ('js/jSignature.min.js', 'js/django_jsignature.js')