Skip to content

Comments

Added option to show selected items#39

Merged
Tsjippy merged 1 commit intobluzky:masterfrom
zaru:add-show-selected-items-option
Jan 13, 2023
Merged

Added option to show selected items#39
Tsjippy merged 1 commit intobluzky:masterfrom
zaru:add-show-selected-items-option

Conversation

@zaru
Copy link
Contributor

@zaru zaru commented May 9, 2022

Proposal.

Add option to display items selected by multiple attributes. This option allows for flexibility in the way it looks.

For example, in CSS, it can be displayed comma-separated.

.nice-select.has-multiple {
  .multiple-options {
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }
  .current {
    &:before {
      content: ' , ';
    }
    &:first-of-type {
      &:before {
        content: '';
      }
    }
  }
}

@Tsjippy Tsjippy merged commit 1aa6b7b into bluzky:master Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants