erp5_web_renderjs_ui: Fix min & max setup if undefined

Depending on field type, if min and max are not setup then they can be equals to the empty string or undefined.
6 jobs for master
in 0 seconds, using 0 compute credits, and was queued for 0 seconds