Article Details
Id:19523
Product:finPOWER Connect
Type:FIX
Version:4.00.00
Opened:04/07/2022
Closed:05/09/2022
Released:21/12/2022
Job: J029106

HTML Widgets; InformationListComboBox Control; AllowMandatoryOverride Parameter in SetComboFromInformationList() now assumes "True" if not supplied

The HTML Widget control "InformationListComboBox" is initialised using the function SetComboFromInformationList(informationListId, allowMandatoryOverride, callback, setDefaultValue). Previously, if the "allowMandatoryOverride" Parameter was not specified it was assumed to be "False". This meant that by default, the control would not respect the Information Lists "Mandatory" flag setting.

This was incorrect, and now the default behaviour will dictate that if the Parameter is not supplied, the Control will respect the setting on the Information List.

Of course, specifying "False" in this Parameter will override the Mandatory setting as it did before, only the default behaviour if not specified has been updated.