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

"No Results" Option? #197

Open
elliotrpage opened this issue Mar 31, 2016 · 9 comments
Open

"No Results" Option? #197

elliotrpage opened this issue Mar 31, 2016 · 9 comments

Comments

@elliotrpage
Copy link

Hello,

Thank you very much for this very helpful tool!

Is there a feature where you can supply a phrase to be displayed if no results are found by the search?
ie: "No results found."
I read the helpful guide page but could not find record of such a feature.

Yours,
Elliot

@pawelczak
Copy link
Owner

pawelczak commented Apr 17, 2016

It is not possible to do it right now. Thank's for interesting suggestion.

@Kcko
Copy link

Kcko commented May 17, 2016

Any progress? Thank You.

@adamtheapiguy
Copy link

Hey guys, I'm looking for the same as if the search returns no result which is different from the schema for results, I have to refresh the page. Any workaround?

@elliotrpage
Copy link
Author

It looks like someone has sent in a pull request with this very feature, which is promising :)

@adamtheapiguy
Copy link

Hopefully it gets released soon. Have you tested the changes?

Cheers,
_adam

+61 40222 9001

Sent from my iPad

On Jul 12, 2016, at 10:13 PM, Elliot Page <[email protected]mailto:[email protected]> wrote:

It looks like someone has sent in a pull request with this very feature, which is promising :)


You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com//issues/197#issuecomment-232029380, or mute the threadhttps://github.com/notifications/unsubscribe/AK9fUgfK-BbDOV7WTGj2dEGg47_THPNuks5qU4T7gaJpZM4H8m-V.

@elliotrpage
Copy link
Author

I have, but they do not appear to work. I would encourage you to take a look also and comment on the PR if you have better luck!

@ibrahimince
Copy link

ibrahimince commented Oct 4, 2016

if (typeof item ==='undefined'){
alert("unknown name or ID");
}

This works for me. I use this methods in the $.getJSON(url)

@adamtheapiguy
Copy link

Is this $.getJSON(url) used inside the easyAutocomplete js file?

Cheers,
_adam

+61 40222 9001

On 4 Oct. 2016, at 7:40 pm, ibrahimince <[email protected]mailto:[email protected]> wrote:

if (typeof item ==='undefined'){
alert("Ukendt navn eller ID");
}

This works for me. I use this methods in the $.getJSON(url)

You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com//issues/197#issuecomment-251328711, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AK9fUnGJz1ZcyYAzyNn3qX0nIu25quEPks5qwhDxgaJpZM4H8m-V.

@boney838
Copy link

Have a look at this pull request by dmitov. There is a minor mistake as pointed by Kevin. I tried it and it works great.

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

6 participants