diff --git a/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_floatfield_js.js b/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_floatfield_js.js index 2b0e5c0bfc6f6994da73eb35d99811d89c0c0e94..ca3699cd703162e120ceff738f1a3b788253184b 100644 --- a/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_floatfield_js.js +++ b/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_floatfield_js.js @@ -19,9 +19,8 @@ value: window.parseFloat(field_json.default), text_content: '', // `step` is used for browser-level validation thus a mandatory value - // HTML5 default is 1.0 which is not feasible most of the time thus we - // default to over-sufficiently small value - step: 0.00000001, + // if unspecified we can use "any" value + step: "any", // `append` is a string to display next to the field ("%", "EUR"...) append: '' }; diff --git a/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_floatfield_js.xml b/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_floatfield_js.xml index c701961639aed9538096b5ebdd6a0722fd3dc2d1..9e831e95ef30fdcbf7bf444b056fd753736c8e50 100644 --- a/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_floatfield_js.xml +++ b/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_floatfield_js.xml @@ -230,7 +230,7 @@ </item> <item> <key> <string>serial</string> </key> - <value> <string>962.12588.2416.8721</string> </value> + <value> <string>962.14347.57208.52667</string> </value> </item> <item> <key> <string>state</string> </key> @@ -248,7 +248,7 @@ </tuple> <state> <tuple> - <float>1505921992.31</float> + <float>1507102119.32</float> <string>UTC</string> </tuple> </state>