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

Add options.searchColumns to List API docs #648

Closed
sheffieldnikki opened this issue Feb 14, 2019 · 1 comment
Closed

Add options.searchColumns to List API docs #648

sheffieldnikki opened this issue Feb 14, 2019 · 1 comment

Comments

@sheffieldnikki
Copy link
Contributor

sheffieldnikki commented Feb 14, 2019

Can this be added to the List API docs please?

You can use searchColumns in the options when you initialize the list like this:

var options = { valueNames: [ 'name', 'lastname','birthdate' ], searchColumns:[ 'name', 'lastname' ] }; var userList = new List('users', options);

In this example you would have 3 fields (name, lastname, birthdate) and the search function would use only name and lastname.

Originally posted by @pvdlg in #418 (comment)

@sheffieldnikki sheffieldnikki changed the title You can use searchColumns in the options when you initialize the list like this: Add options.searchColumns to List API docs Feb 14, 2019
sheffieldnikki added a commit to sheffieldnikki/list.js that referenced this issue Apr 2, 2020
@javve
Copy link
Owner

javve commented Nov 25, 2020

Added via #696 <3

@javve javve closed this as completed Nov 25, 2020
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