Skip to content

Commit

Permalink
disabled class on a i.delete.icon selector has no effect
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Jun 18, 2024
1 parent 208a0ec commit d843aad
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/Form/Control/Dropdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -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"');
Expand Down

0 comments on commit d843aad

Please sign in to comment.