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

Backend-filtering not compatible? #156

Open
lkgarrison opened this issue Jul 26, 2016 · 2 comments
Open

Backend-filtering not compatible? #156

lkgarrison opened this issue Jul 26, 2016 · 2 comments

Comments

@lkgarrison
Copy link

I would like to perform filtering on the back-end (provide suggestions for tags as the user types). The problem is that using the "filter" property on the ember-selectize resultings in hiding the previously selected tags when text is typed into the box after a tag is selected. Is there a different way that I am overlooking to update the options/results to choose from in the select via a call to my application's backend, using the current text the user typed as the text to filter by on my back-end?

@miguelcobain
Copy link
Owner

Does this help?
#81

@lkgarrison
Copy link
Author

Very close, but I need a way to clear the "filter" that is still active. I have tags such as "nodejs" and "expressjs" that my back-end returns as I type in the select box. If I type "expr", and then select the option "expressjs", all is good - the tag appears in the select box as expected. I would then expect to be able to type a second tag in the box, next to the existing tag. However, as soon as I do so, a new filter is applied and the "expressjs" tag disappears. As i type "node" and then select the "nodejs" tag option, I only have 1 tag visible in the select. If I click the "x" on the "nodejs" tag, then start typing "exp", then the "express tag becomes visible again. It was there the whole time, but the internal filter is making it disappear whenever the current filter doesn't match the existing tags.

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