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

Set searchField option #64

Closed
zooncc opened this issue May 1, 2015 · 4 comments
Closed

Set searchField option #64

zooncc opened this issue May 1, 2015 · 4 comments

Comments

@zooncc
Copy link

zooncc commented May 1, 2015

I want to search multiple field, so i add searchField property in controller:

export default Ember.Controller.extend({
    searchField: ["label", "value"]
});

and template:

{{ember-selectize
 selection=postId
 content=postOptions
 optionValuePath="content.id"
 optionLabelPath="content.value"
 multiple=false
 searchField=searchField
}}

but not working, it still only search lable field, how to set searchField?
Thanks.

@miguelcobain
Copy link
Owner

Its not working because it isn't implemented.
We don't mention that in the README.

Suggestions are welcome.

@zooncc
Copy link
Author

zooncc commented May 2, 2015

Thank you for your reply.
Can i request to add searchField option support?

@SirZach
Copy link
Contributor

SirZach commented May 18, 2016

1 full year later and there's a PR!

@miguelcobain
Copy link
Owner

closed by #146

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