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

how to disable search whenever i click the searchbox? #34

Open
belgarad opened this issue Mar 9, 2018 · 3 comments
Open

how to disable search whenever i click the searchbox? #34

belgarad opened this issue Mar 9, 2018 · 3 comments

Comments

@belgarad
Copy link

belgarad commented Mar 9, 2018

component starts searching whenever i click the input area. i want to start searching after at least 2 letters entered.

i use data list json as data source.

@charliekassel
Copy link
Owner

It's currently set up to search on click for data pre supplied to the component, but to search once you type something for an api request.
My reasoning was that if we already have the data then it's basically working as a skinned select so why not show all the options when you focus.
I'm ok with having this as a configurable option though, so would be happy to look at a PR.

@belgarad
Copy link
Author

belgarad commented Mar 9, 2018

That would be great. Your component is very smart and easy to use. with couple new options it will be in every project. Excelent work.

@savansavani
Copy link

It's currently set up to search on click for data pre supplied to the component, but to search once you type something for an api request.
My reasoning was that if we already have the data then it's basically working as a skinned select so why not show all the options when you focus.
I'm ok with having this as a configurable option though, so would be happy to look at a PR.

Is this feature available? configurable @click event.

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

3 participants