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

Need an input param for auto-focusing filter box #47

Closed
blackblood19 opened this issue Aug 8, 2018 · 2 comments · Fixed by #60
Closed

Need an input param for auto-focusing filter box #47

blackblood19 opened this issue Aug 8, 2018 · 2 comments · Fixed by #60
Labels
feature New feature or request

Comments

@blackblood19
Copy link

Right now, as soon as we open the select element, the filter box is focused. Is there any way to not do that?

@macjohnny macjohnny added the feature New feature or request label Aug 13, 2018
@macjohnny
Copy link
Member

@blackblood19 an option would be to add

@Input() disableInitialFocus: boolean = false;

and check for it in https://github.com/bithost-gmbh/ngx-mat-select-search/blob/master/src/app/mat-select-search/mat-select-search.component.ts#L292

would you like to add this and file a PR?

@macjohnny
Copy link
Member

@blackblood19 version 1.4.0 contains an input @Input() disableInitialFocus to disable initial focusing of the input field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants