Skip to content

Commit

Permalink
Structure: Adding live search to category selects (#4751)
Browse files Browse the repository at this point in the history
  • Loading branch information
skerbis committed Oct 4, 2021
1 parent f80442c commit 0f26c41
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -242,6 +242,7 @@
$moveA->setName('category_id_new');
$moveA->setSize('1');
$moveA->setAttribute('class', 'form-control selectpicker');
$moveA->setAttribute('data-live-search', 'true');
$moveA->setSelected($categoryId);

$panel = '<fieldset>';
Expand Down Expand Up @@ -282,6 +283,7 @@
$moveA->setId('category_copy_id_new');
$moveA->setSize('1');
$moveA->setAttribute('class', 'form-control selectpicker');
$moveA->setAttribute('data-live-search', 'true');
$moveA->setSelected($categoryId);

$panel = '<fieldset>';
Expand Down Expand Up @@ -322,6 +324,7 @@
$moveA->setName('category_id_new');
$moveA->setSize('1');
$moveA->setAttribute('class', 'form-control selectpicker');
$moveA->setAttribute('data-live-search', 'true');
$moveA->setSelected($articleId);

$panel = '<fieldset>';
Expand Down

0 comments on commit 0f26c41

Please sign in to comment.