Commit dd4545e1 authored by Jérome Perrin's avatar Jérome Perrin

set default value to '', because if a value is None, render_element will display value="value"



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28644 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e7fc3abe
...@@ -1280,7 +1280,7 @@ class FloatWidget(TextWidget): ...@@ -1280,7 +1280,7 @@ class FloatWidget(TextWidget):
title='Precision', title='Precision',
description=( description=(
"Number of digits after the decimal point"), "Number of digits after the decimal point"),
default=None, default='',
required=0) required=0)
def format_value(self, field, value): def format_value(self, field, value):
......
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