Skip to content

autoClearSearch doesnt work #194

Open
@moeali1010

Description

@moeali1010

text still exist in search after i select item
`<ngx-select formControlName="trainee" [items]="usersList" [multiple]="true" [autoClearSearch]="true"
[keepSelectMenuOpened]="true" >

                <ng-template ngx-select-option-selected let-option let-text="text">
                    <div class="row rtldir">
                        <div class="col-auto padding-left-0"><img src="{{option.data.img}}"
                                class="people-picker-img-selected"></div>
                        <div class="col-auto">
                            <div>{{option.text}}</div>
                        </div>
                    </div>
                </ng-template>

                <ng-template ngx-select-option let-option let-text="text">
                    <div class="row rtldir">
                        <div class="col-auto"><img src="{{option.data.img}}" class="people-picker-img"></div>
                        <div class="col-auto">
                            <div>{{option.text}}</div>
                            <div>{{option.data.position}}</div>
                        </div>
                    </div>
                </ng-template>

                <ng-template ngx-select-option-not-found>
                 not exist
                </ng-template>

            </ngx-select>`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions