class MultiSelect extends FieldWithOptions (View source)

Properties

Model|null $item from  TwillFormComponent
array $form_fields from  TwillFormComponent
string|null $formModuleName from  TwillFormComponent
string|null $routePrefix from  TwillFormComponent
string|null $confirmMessageText

Below are unused but needed to keep compatible

from  FieldWithOptions
string|null $confirmTitleText from  FieldWithOptions
bool|null $requireConfirmation from  FieldWithOptions

Methods

__construct(string $name, string $label, bool $renderForBlocks = false, bool $renderForModal = false, bool $translated = false, bool $required = false, string|null $note = '', mixed $default = null, bool $disabled = false, bool $readOnly = false, bool $inModal = false, mixed $options = null, bool $unpack = false, int $columns = 0, bool $searchable = false, string|null $placeholder = null, bool $addNew = false, string|null $moduleName = null, string|null $storeUrl = null, int|null $min = null, int|null $max = null, string|null $endpoint = null, bool $taggable = false, bool $pushTags = false)

No description

string
formFieldName(bool $asAttributes = false, string|null $customName = null)

No description

View
render()

No description

array
getOptions()

No description

Details

__construct(string $name, string $label, bool $renderForBlocks = false, bool $renderForModal = false, bool $translated = false, bool $required = false, string|null $note = '', mixed $default = null, bool $disabled = false, bool $readOnly = false, bool $inModal = false, mixed $options = null, bool $unpack = false, int $columns = 0, bool $searchable = false, string|null $placeholder = null, bool $addNew = false, string|null $moduleName = null, string|null $storeUrl = null, int|null $min = null, int|null $max = null, string|null $endpoint = null, bool $taggable = false, bool $pushTags = false)

No description

Parameters

string $name
string $label
bool $renderForBlocks
bool $renderForModal
bool $translated
bool $required
string|null $note
mixed $default
bool $disabled
bool $readOnly
bool $inModal
mixed $options
bool $unpack
int $columns
bool $searchable
string|null $placeholder
bool $addNew
string|null $moduleName
string|null $storeUrl
int|null $min
int|null $max
string|null $endpoint
bool $taggable
bool $pushTags

string formFieldName(bool $asAttributes = false, string|null $customName = null)

No description

Parameters

bool $asAttributes
string|null $customName

Return Value

string

View render()

No description

Return Value

View

array getOptions()

No description

Return Value

array