MDL-79629 core_question: Improve autocomplete categories UI

This commit is contained in:
Mikel Martín 2023-10-09 14:48:21 +02:00 committed by Paul Holden
parent e9afd7f072
commit 2ea44fb45e
No known key found for this signature in database
GPG key ID: A81A96D6045F6164
5 changed files with 2 additions and 20 deletions

View file

@ -307,6 +307,7 @@ class category_condition extends condition {
'value' => '',
'title' => $heading,
'disabled' => true,
'classes' => 'suggestions-heading',
];
foreach ($catlist as $key => $value) {
$values[] = (object) [