Skip to content

ToOptions pipe for select labels

Auto-generated from the source archive. Do not edit by hand — rerun catalyst-changelog-sync instead.

  • Adds ToOptionsPipe to @aurora — a pure pipe that maps a list to Option[] using a {field} template, so select labels follow each aggregate’s front.displayField instead of a hardcoded name.
  • Generated search-select and multi-select relationship widgets now bind through the pipe instead of emitting a per-component …AsOptions computed.

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}'.


View original proposal