Bugfix: Allow users to enter fractional numbers for float form types.

pull/7/head
Ferry Boender 9 years ago
parent 7b5fa81e31
commit 555fbcfa30
  1. 2
      src/scriptform.py

@ -386,7 +386,7 @@ class ScriptFormWebApp(WebAppHandler):
"string": '<input {0} type="text" name="{1}" />',
"number": '<input {0} type="number" min="{1}" max="{2}" name="{3}" />',
"integer": '<input {0} type="number" min="{1}" max="{2}" name="{3}" />',
"float": '<input {0} type="number" min="{1}" max="{2}" name="{3}" />',
"float": '<input {0} type="number" min="{1}" max="{2}" step="any" name="{3}" />',
"date": '<input {0} type="date" name="{1}" />',
"file": '<input {0} type="file" name="{1}" />',
"password": '<input {0} type="password" name="{1}" />',

Loading…
Cancel
Save