PickerComponent
Table of Contents
Namespaces
- Labels
Classes
- Picker
- Selects a related object into a form; replaces a long `<select>`.
- PickerConfig
- Configuration of one {@see Picker} instance. A pure value object created with a fluent or named-args
notation in the picker trait (`UserPickerTrait::userPicker()` ...); not a DI service
(config/common.neon excludes it from search, like the DataGrid configuration class).
- PickerFactory
- Factory for {@see Picker}. The decorator injects `AppContext` into the factory
({@see config/Shared/decorators.neon}), so an empty constructor is enough.
Traits
- ComponentPickerHostTrait
- Component counterpart of {@see \App\UI\Admin\System\Presenters\Traits\Pickers\PickerHostTrait}: the same
`createComponentPicker()`/`parsePickerName()` logic, but `$this->error()` is presenter-only and
does not exist on a component, so an unknown picker throws `LogicException`.