From 35b717614f95d9b4bb2afd19be0952cb25682281 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sat, 28 May 2016 11:36:46 +0200 Subject: [PATCH] forms: disable autocompletion for date fields (#11108) --- wcs/qommon/form.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wcs/qommon/form.py b/wcs/qommon/form.py index 6c70b6f..33a36f2 100644 --- a/wcs/qommon/form.py +++ b/wcs/qommon/form.py @@ -973,6 +973,7 @@ class DateWidget(StringWidget): StringWidget.__init__(self, name, value=value, **kwargs) self.attrs['size'] = '12' self.attrs['maxlength'] = '10' + self.attrs['autocomplete'] = 'off' self.jpicker_args = kwargs.pop('jpicker_args', {}) self.jquery = kwargs.pop('jquery', True) -- 2.8.1