Mandatory flag when multiple lists are selected
Version: 4.37.1 Date: 2026-09-24
Goal: When a user selects several deposit lists that share the same attribute, the field must be mandatory if at least one selected list requires it.
Solution: Merge folder attributes by id with a logical OR on mandatory instead of letting the last selected list overwrite the flag.
Features:
- Shared attributes show the required asterisk when any selected list marks them mandatory
- Validation follows the merged mandatory set
Implementation Details:
setAttributesORsmandatoryfor duplicate attribute ids
Files Modified:
src/components/DocumentsPanel/utils/attributeStore.ts- OR merge for duplicate attribute ids insetAttributes
Release fragment: fix-mandatory-attribute-multi-list