Corex.Select.Translation (Corex v0.1.2)

View Source

Translatable strings for Corex.Select.

Pass translation={%Corex.Select.Translation{}} to override any field. Omitted fields use gettext defaults (see table).

FieldDefaultUsed for
placeholderSelectTrigger label when nothing is selected

Partial override example:

translation={%Corex.Select.Translation{placeholder: Corex.Gettext.gettext("Choose a country")}}

Summary

Types

t()

@type t() :: %Corex.Select.Translation{placeholder: String.t()}

Functions

resolve(partial)