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
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-Master

01:45:44

passed ERP5.UnitTest-Master

02:03:55

failed ERP5.UnitTest-Master.Medusa

02:25:14

passed SlapOS.Eggs.UnitTest-Master.Python2

01:07:55

passed SlapOS.Eggs.UnitTest-Master.Python3

00:14:02

passed SlapOS.Eggs.UnitTest-Master.Python3

01:29:41