PhoenixKitCatalogue.Web.AttributeSetFormLive (PhoenixKitCatalogue v0.19.1)

Copy Markdown View Source

Create/edit form for attribute SETS (the 2026-08-18 rework): one dimension from one vendor — "Ikea colors" — stored as a managed entities blueprint whose data records are the values.

Same event-driven doctrine as the group editor it replaces: the set's NAME and KIND save through a small form, while values persist immediately per action — add, rename-on-blur, default star, drag reorder, delete. Extra fields (price per liter, drying time…) are blueprint fields managed here too; every value row then carries an input per extra field, saved on blur.

Editing is primary-language: value labels are entities record titles, and their translations ride entities' own multilang mechanisms (design doc §UI, follow-up).

Summary

Functions

on_mount(atom, params, session, socket)