Commit 356bee55 authored by Laurent Bachelier's avatar Laurent Bachelier 🐧 Committed by Vincent A

filters: Add new types for FormValue

parent 9ae232f4
......@@ -180,7 +180,7 @@ class FormValue(Filter):
if el.attrib.get('type') in ('radio', 'checkbox'):
return 'checked' in el.attrib
# regular text input
elif el.attrib.get('type', '') in ('', 'text', 'email', 'search', 'tel', 'url'):
elif el.attrib.get('type', '') in ('', 'text', 'email', 'search', 'tel', 'url', 'password', 'hidden'):
return unicode(el.attrib['value'])
except KeyError:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment