Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autoClearSearch doesnt work #194

Open
moeali1010 opened this issue Apr 18, 2021 · 1 comment
Open

autoClearSearch doesnt work #194

moeali1010 opened this issue Apr 18, 2021 · 1 comment

Comments

@moeali1010
Copy link

moeali1010 commented Apr 18, 2021

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>`
@optimistex
Copy link
Owner

@moeali1010 Couldn you make a life example to see the issue?

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

No branches or pull requests

2 participants