Files
lichterei-web/kirby/config/fields/multiselect.php
Bastian Allgeier 8e3d86a590 Upgrade to 3.0.2
2019-02-19 16:39:58 +01:00

32 lines
665 B
PHP
Executable File

<?php
return [
'extends' => 'tags',
'props' => [
/**
* Unset inherited props
*/
'accept' => null,
/**
* Custom icon to replace the arrow down.
*/
'icon' => function (string $icon = null) {
return $icon;
},
/**
* Enable/disable the search in the dropdown
*/
'search' => function (bool $search = true) {
return $search;
},
/**
* If true, entries will be sorted alphabetically on selection
*/
'sort' => function (bool $sort = false) {
return $sort;
},
]
];