From d843aadbea612e97c6bf68b8283cd686402a2344 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Vo=C5=99=C3=AD=C5=A1ek?= Date: Sat, 1 Jun 2024 20:58:56 +0200 Subject: [PATCH] disabled class on a i.delete.icon selector has no effect --- src/Form/Control/Dropdown.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/Form/Control/Dropdown.php b/src/Form/Control/Dropdown.php index d8621ce902..c33db75dfd 100644 --- a/src/Form/Control/Dropdown.php +++ b/src/Form/Control/Dropdown.php @@ -201,12 +201,6 @@ protected function renderView(): void $this->template->dangerouslySetHtml('multipleClass', 'multiple'); } - if ($this->disabled || $this->readOnly) { - if ($this->multiple) { - $this->jsDropdown(true)->find('a i.delete.icon')->attr('class', 'disabled'); - } - } - if ($this->disabled) { $this->template->set('disabledClass', 'disabled'); $this->template->dangerouslySetHtml('disabled', 'disabled="disabled"');