View Source LiveAdmin (LiveAdmin v0.12.1)
Link to this section Summary
Functions
Defines NimbleOptions schema for configuration that can be set at all levels (resource, scope, and application).
Link to this section Types
Link to this section Functions
Defines NimbleOptions schema for configuration that can be set at all levels (resource, scope, and application).
Used internally to validate configuration in apps using LiveAdmin.
Supported options:
:components(list of modules implementing LiveComponent overrides of LiveAdmin views):ecto_repo(Ecto Repo used to query resource):list_with(func_ref/0returning{records, count}used to fetch records in LiveAdmin :list component):render_with(func_ref/0used to convert field values to string in LiveAdmin :list component):delete_with(func_ref/0orfalseto disable deleting records):create_with(func_ref/0orfalseto disable creating records):update_with(func_ref/0orfalseto disable updating records):validate_with(func_ref/0used to validate create/update changesets in LiveAdmin :form component):label_with(func_ref/0used to convert (association) record to string in LiveAdmin SearchSelect component):title_with(string literal or MFA returning a string used to render LiveAdmin UI heading):hidden_fields(field_list/0to be hidden from LiveView):immutable_fields(field_list/0to be disabled in LiveAdmin :form component):actions(func_list/0taking a record, LiveAdmin session struct, and any extra args):tasks(func_list/0taking a LiveAdmin session and any extra args)