Previously, all Select Objects contained an empty item at the top of the list.
With version Files Version: V.4.9.2-2025.09.22.00, this has changed.
- If Validation is set to None, there is still an empty item.
- If Validation is set to No Blanks, No Duplicates, or No Duplicates/Blanks, there is no longer an empty item.
- itemindex = -1 is set if it is a new record or no item is chosen.
- now returns null if no item is chosen.
Code: Select all
$('#select_object_id').val()
- still returns an empty string (this is unchanged from before).
Code: Select all
nuGetValue('select_object_id')
There is no need to display a blank option when blanks are not allowed by the validation rules anyway.
This makes the Select objects cleaner and more consistent with the configured validation.