ToOptions pipe for select labels
Auto-generated from the source archive. Do not edit by hand — rerun
catalyst-changelog-syncinstead.
What changed
Section titled “What changed”- Adds
ToOptionsPipeto@aurora— a pure pipe that maps a list toOption[]using a{field}template, so select labels follow each aggregate’sfront.displayFieldinstead of a hardcodedname. - Generated search-select and multi-select relationship widgets now bind through the pipe instead of emitting a per-component
…AsOptionscomputed.
Why it matters
Section titled “Why it matters”Relationship dropdowns whose display field is code, or a composite like {code} - {name}, now render the correct label out of the box — no hand-editing of generated forms. Because the binding is a single declarative token, form components stop carrying a duplicated computed<Option[]> and the Option / computed imports it dragged in. You can use the pipe directly in your own templates too: items | toOptions:'{code} — {name}'.