]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/components/select/select.component.html
import ceph nautilus 14.2.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / components / select / select.component.html
index ee63842c1fd295a16f87b96bb7629b5decd67b74..72682dbd342ade8155e56e98ed37fd33ff65648b 100644 (file)
@@ -20,7 +20,7 @@
   </form>
   <div *ngFor="let option of filteredOptions"
        class="select-menu-item"
-       [class.disabled]="data.length === selectionLimit && !option.selected"
+       [ngClass]="{'help-block disabled': (data.length === selectionLimit || !option.enabled) && !option.selected}"
        (click)="triggerSelection(option)">
     <div class="select-menu-item-icon">
       <i class="fa fa-check"