Closed saqueib closed 4 years ago
@saqueib If you have found a way to pass a query to repopulate then can you please share it here?
@saqueib @baldhadhaval08 would you guys mind testing version 1.2.0 and let me know if that fixes things for you? Thanks!
You can pass in a string to the prepopulate method, which basically simulates typing in a search string:
BelongsTo::make("Archive")
->searchable()
->prepopulate("test"),
This example would only pre-populate the items containing "test" in their display-field.
Hi Alex, Please share how do I pass a query to repopulate the search field.
Above expiation is not clear for me. If you can give some code sample on how to use it that will be great.
I want to load only
active
users.