You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
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
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)
The text was updated successfully, but these errors were encountered: