Pickers
Table of Contents
Traits
- AdvertPickerTrait
- Advert picker: a suggester by id and owner e-mail.
- CategoryPickerTrait
- Advert category picker, used two ways:
- {@see categorySinglePicker()}: a single field (category of a payment/watchdog),
- {@see categoryParentPicker()}: the parent category (self-reference: excludes the edited
category and its whole subtree).
- ParameterPickerTrait
- Advert parameter picker for a row of the "parameter settings" multiplier (targeting parameters at a
category). Suggester by name (`translations.name`) plus a modal with the `show` grid
`:Admin:Bazaar:Parameter` in picker mode. The hidden `parameterId` and the text `parameterName` live in
the `parameterRels` container row (created by {@see \App\UI\Admin\Bazaar\Presenters\Traits\Forms\CategoryFormTrait}).
- TariffPickerTrait
- Advert tariff picker (single field). Suggester by name (`translations.name`) plus a modal with the
`show` grid `:Admin:Bazaar:Tariff` (which has a picker mode). See
{@see \App\UI\Admin\Discussion\Presenters\Traits\Pickers\TariffPickerTrait}.