AshAdmin.Components.Resource.ManagedRelationshipSelectField (ash_admin v1.2.0)

Copy Markdown View Source

A LiveComponent for rendering a managed relationship field as a select/typeahead instead of nested form inputs. Used when the destination resource has a label_field configured.

Summary

Functions

handle_event(binary, params, socket)

Callback implementation for Phoenix.LiveComponent.handle_event/3.

mount(socket)

Callback implementation for Phoenix.LiveComponent.mount/1.

render(assigns)

Callback implementation for Phoenix.LiveComponent.render/1.

update(assigns, socket)

Callback implementation for Phoenix.LiveComponent.update/2.