This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

pymarco
pymarco

I've read the documentation for lists toolbar, and have attempted to add the search widget. However the search functionality always returns all of the records.

I've add the following to my list_config.yaml

toolbar:
  search:
    prompt: Search
    growable: false

I've also read through the code somewhat, and can't quite figure out how the searching is supposed to work. Any tips would be appreciated. Thanks!

Last updated

Flynsarmy
Flynsarmy

You need to add searchable: true to one or more of your columns in fields.yaml.

pymarco
pymarco

Thank you @Flynsarmy, that did it!

Mohsin
Mohsin

How would I go about making growable: false in case of relations. There is a showSearch option that can be set true or false but no further control over it.

1-4 of 4

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.