1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-12 17:54:44 +02:00
This commit is contained in:
Ryan Cramer
2021-04-19 10:32:23 -04:00
parent ace2dafb29
commit 9f1f440b82

View File

@@ -403,7 +403,8 @@ class FieldtypeOptions extends FieldtypeMulti implements Module {
$info['options'] = array();
$info['operators'] = array('=', '!=', '@=', '@!=', '=""', '!=""');
foreach($this->manager->getOptions($field) as $option) {
$info['options'][$option->id] = $option->title;
/** @var SelectableOption $option */
$info['options'][$option->id] = $option->getTitle();
}
$subfields = array(
'title' => array(