Article Details
Id:21758
Product:finPOWER Connect
Type:FIX
Version:4.01.02
Opened:06/08/2024
Closed:06/08/2024
Released:12/09/2024
Job: J034032

HTML Widgets; DateBox Control; New Option "ignoreMinMaxWhenNullValue" is now available

A new option, ignoreMinMaxWhenNullValue, is available when using the Date Box HTML Widget Control. By default, this value is True and is applied when allowBlank is True and Min and Max values have been set, but no value is entered into the Control.

Previously, this scenario could have resulted in a validation error, which was incorrect if the control was allowed to be blank.

Now, if ignoreMinMaxWhenNullValue is set as True (or omitted entirely) the blank value will be allowed, regardless of what the Min / Max values are set to.

If ignoreMinMaxWhenNullValue is set to False, then the existing logic will apply whereby the value must be between the Min / Max values, regardless of whether the Control is allowed to be blank or not.