Skip to content

Commit

Permalink
Fixed #4232
Browse files Browse the repository at this point in the history
  • Loading branch information
Çağatay Çivici committed Oct 23, 2017
1 parent 10e0e56 commit 017f11e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/components/multiselect/multiselect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const MULTISELECT_VALUE_ACCESSOR: any = {
<label class="ui-multiselect-label ui-corner-all">{{valuesAsString}}</label>
</div>
<div [ngClass]="{'ui-multiselect-trigger ui-state-default ui-corner-right':true}">
<span class="fa fa-fw fa-caret-down ui-clickable"></span>
<span class="ui-clickable" [ngClass]="dropdownIcon"></span>
</div>
<div #panel [ngClass]="['ui-multiselect-panel ui-widget ui-widget-content ui-corner-all ui-shadow', panelStyleClass||'']" [ngStyle]="panelStyle"
[style.display]="overlayVisible ? 'block' : 'none'" (click)="panelClick=true">
Expand Down Expand Up @@ -108,6 +108,8 @@ export class MultiSelect implements OnInit,AfterViewInit,AfterContentInit,AfterV
@Input() showToggleAll: boolean = true;

@Input() resetFilterOnHide: boolean = false;

@Input() dropdownIcon: string = 'fa fa-fw fa-caret-down';

@ViewChild('container') containerViewChild: ElementRef;

Expand Down
6 changes: 6 additions & 0 deletions src/app/showcase/components/multiselect/multiselectdemo.html
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,12 @@ <h3>Properties</h3>
<td>false</td>
<td>Clears the filter value when hiding the dropdown.</td>
</tr>
<tr>
<td>dropdownIcon</td>
<td>string</td>
<td>fa fa-fw fa-caret-down</td>
<td>Icon class of the dropdown icon.</td>
</tr>
</tbody>
</table>
</div>
Expand Down

0 comments on commit 017f11e

Please sign in to comment.