Labelled Attribute LOV for IP Magic Box
Version: 1.7.1 Date: 2026-08-03
Goal: Manual attributes configured in neo/Retool with { value, label } LOV entries must render as dropdown selects in IP Magic Box (e.g. Bulgari Product Type).
Solution: Store attribute LOV as Schema.Types.Mixed and normalize to string[] in GET /api/user before returning folder attributes to clients.
Features:
- Legacy
string[]LOV attributes unchanged - Labelled
{ value, label }[]LOV exposed again to IP Magic Box
Implementation Details:
- Previous
lov: [String]schema dropped labelled entries on populate, leavinglovundefined and forcing free-text input
Files Modified:
app/database/schema/company.js-Schema.Types.Mixedfor attribute LOVapp/util/attributeLov.js- Normalize strings and labelled entries to canonical valuesapp/services/users.js- LOV normalization ingetByJobIdPullCompany
Release fragment: fix-labelled-attribute-lov