Skip to content

Commit

Permalink
Merge pull request #4212 from nextcloud/fix/select-x-button
Browse files Browse the repository at this point in the history
fix(NcSelect): Hide clear and deselect when disabled
  • Loading branch information
ChristophWurst committed Jun 14, 2023
2 parents 287e71f + 697971a commit 5d1e7f3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/NcSelect/NcSelect.vue
Expand Up @@ -1023,6 +1023,13 @@ body {
border-color: var(--color-primary-element);
}
&.vs--disabled {
.vs__clear,
.vs__deselect {
display: none;
}
}
&--no-wrap {
.vs__selected-options {
flex-wrap: nowrap;
Expand Down

0 comments on commit 5d1e7f3

Please sign in to comment.