extends |
Input |
|---|
| Methods | ||
|---|---|---|
protected
|
init(): void
|
# |
public
|
getValue()
|
# |
public
|
set($value = null)
|
# |
public
|
setDropdownOption(string $option, mixed $value): void
|
# |
public
|
setDropdownOptions(array $options): void
|
# |
protected
|
jsDropdown(bool|string $when = false, JsExpressionable $action = null): Jquery
|
# |
protected
|
jsRenderDropdown(): JsExpressionable
|
# |
protected
|
htmlRenderValue(): void
|
# |
protected
|
renderView(): void
|
# |
protected
|
_renderItemsForModel(): void
|
# |
protected
|
_renderItemsForValues(): void
|
# |
protected
|
_addCallBackRow(mixed $row, int|string $key = null): void
|
# |
| Methods inherited from Atk4\Ui\Form\Control\Input |
|---|
setInputAttr(), getInput(), prepareRenderLabel(), prepareRenderButton(), addAction() |
| Methods inherited from Atk4\Ui\Form\Control |
|---|
renderTemplateToHtml(), onChange(), jsInput() |
| Methods inherited from Atk4\Ui\AbstractView |
|---|
getOwner() |
| Methods used from Atk4\Core\AppScopeTrait |
|---|
assertInstanceOfApp(), issetApp(), getApp(), setApp() |
| Methods used from Atk4\Core\ContainerTrait |
|---|
_uniqueElementName(), _addContainer(), removeElement(), _shorten(), getElement(), hasElement() |
| Methods used from Atk4\Core\InitializerTrait |
|---|
isInitialized(), assertIsInitialized(), invokeInit() |
| Methods used from Atk4\Core\StaticAddToTrait |
|---|
_addToAdd(), addTo(), addToWithCl(), addToWithClUnsafe() |
| Methods used from Atk4\Core\TrackableTrait |
|---|
issetOwner(), setOwner(), unsetOwner(), getDesiredName(), destroy() |
| Properties | |||
|---|---|---|---|
public
|
|
$defaultTemplate = 'form/control/dropdown.html'
|
# |
public
|
string
|
$inputType = 'hidden'
|
# |
public
|
array<int|string, mixed>
|
$values
|
# |
public
|
string
|
$empty = "\u{00a0}"
|
# |
public
|
array
|
$dropdownOptions = []
|
# |
public
|
bool
|
$multiple = false
|
# |
public
|
(Closure(mixed, int|string|null): array{value: mixed, title: mixed, icon?: mixed})|null
|
$renderRowFunction
|
# |
protected
|
HtmlTemplate
|
$_tItem
|
# |
protected
|
HtmlTemplate
|
$_tIcon
|
# |
| Properties inherited from Atk4\Ui\Form\Control\Input |
|---|
$ui, $placeholder, $icon, $iconLeft, $loading, $label, $labelRight, $action, $actionLeft, $inputAttr |
| Properties inherited from Atk4\Ui\Form\Control |
|---|
$form, $entityField, $controlClass, $layoutWrap, $renderLabel, $width, $caption, $hint, $disabled, $readOnly |
| Properties inherited from Atk4\Ui\View |
|---|
$_jsActions, $model, $region, $class, $style, $attr, $template, $content, $element, $executorFactory, $stickyArgs |
| Properties inherited from Atk4\Ui\AbstractView |
|---|
$_addLater, $_rendered, $elements |
| Properties used from Atk4\Core\AppScopeTrait |
|---|
$_app, $maxNameLength, $uniqueNameHashes |
| Properties used from Atk4\Core\ContainerTrait |
|---|
$_elementNameCounts |
| Properties used from Atk4\Core\InitializerTrait |
|---|
$_initialized |
| Properties used from Atk4\Core\NameTrait |
|---|
$name |
| Properties used from Atk4\Core\TrackableTrait |
|---|
$_owner, $shortName |