extends |
Dropdown |
|---|
Dropdown form control that will based it's list value according to another input value. Also possible to cascade value from another cascade field.
| Methods | ||
|---|---|---|
protected
|
init(): void
|
# |
public
|
set($value = null)
|
# |
public
|
getNewValues(string|int $id): array
|
# |
private
|
getJsValues(array $values, string|int $value): array
|
# |
protected
|
htmlRenderValue(): void
|
# |
protected
|
renderView(): 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
|
string|Control
|
$cascadeFrom
|
# |
public
|
string|Model|null
|
$reference
|
# |
| Properties inherited from Atk4\Ui\Form\Control\Dropdown |
|---|
$defaultTemplate, $inputType, $values, $empty, $dropdownOptions, $multiple, $renderRowFunction, $_tItem, $_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 |