Allow filter autocompleter to grow when multiple entries are selected

pull/7218/head
Henriette Dinger 6 years ago
parent 5e08cee600
commit 41f3fe1ff3
  1. 2
      app/assets/stylesheets/content/_autocomplete.sass
  2. 2
      frontend/src/app/components/filters/filter-toggled-multiselect-value/filter-toggled-multiselect-value.component.html
  3. 2
      frontend/src/app/modules/fields/edit/field-types/multi-select-edit-field.component.html

@ -167,7 +167,7 @@ mark.ui-autocomplete-match
.ng-value .ng-value
@include text-shortener @include text-shortener
.textarea-wrapper .ng-select .ng-select-container .ng-select.-multi-select .ng-select-container
height: initial !important height: initial !important
min-height: initial !important min-height: initial !important

@ -5,7 +5,7 @@
[compareWith]="compareByHrefOrString" [compareWith]="compareByHrefOrString"
[clearSearchOnAdd]="true" [clearSearchOnAdd]="true"
[placeholder]="text.placeholder" [placeholder]="text.placeholder"
class="advanced-filters--ng-select" class="advanced-filters--ng-select -multi-select"
[id]="'values-' + filter.id" [id]="'values-' + filter.id"
[items]="availableOptions" [items]="availableOptions"
[multiple]="true" [multiple]="true"

@ -1,6 +1,6 @@
<div class="textarea-wrapper"> <div class="textarea-wrapper">
<ng-select [(ngModel)]="selectedOption" <ng-select [(ngModel)]="selectedOption"
[ngClass]="'wp-inline-edit--field'" [ngClass]="'wp-inline-edit--field -multi-select'"
[required]="required" [required]="required"
[clearable]="!required" [clearable]="!required"
[disabled]="inFlight" [disabled]="inFlight"

Loading…
Cancel
Save