Catalogue 0.15.1: The item picker lists items again after a reload
Catalogue 0.15.1 fixes the single-item picker, which showed an empty list when reopened on a page that was loaded with an item already chosen.
After a page reload the picker put the chosen item’s name in its field but never searched, so clicking into it showed “No items found”. It now searches whenever its list is empty. The list then shows matches for the current name; edit or clear the field to look for a different item. A pick made without a reload was not affected.
With the list filled, items without a price crashed the picker. Those rows now show without a price.
Full release notes: Catalogue 0.15.1
0.15.1 · 15 August 2026
Fixed
-
Reopening the item picker for an already-loaded item showed an empty list (#63 / L027).
handle_event("open", …)only re-ran search when bothoptionsandquerywere empty. After a page reloadupdate/2mirrors the selected item’s name into:query, so the guard never fired and focus opened “No items found” instead of a list. Search now re-runs wheneveroptions == []. A live pick in the same process was unaffected (optionsstill held the search that led to the selection). After reload the list is a name-search (typically the current item); edit or clear the input to browse replacements. -
Price-less option rows crashed with
BadBooleanError. The row’s:ifusedprice && price != ""as the left operand ofor; anilprice is not a strict boolean. Unreachable while reopen leftoptionsempty; reachable for any item without abase_priceonce that path filled the list. The guard is now(price != nil and price != "").
Documentation
HANDOVER.md(#62). Status of the LAISK-loop work, the consumer contract forphoto_clickable(a host that opts in must handle{:item_picker_photo_click, …}or the click crashes its LiveView), and what was designed but not built: product attributes / characteristics (L028) and a PhoenixKit form-component pass (L029). Those stay for a later version.
Catalogue 0.15.1. Install or update: {:phoenix_kit_catalogue, "~> 0.15"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.