Closed berbagimadani closed 7 years ago
Check out the search()
function you can define in your controller, as described here: https://github.com/BKWLD/decoy/blob/master/docs/controllers.md#search-property. You can fetch your eloquent models, map to a key-val hash, and provide it as the options
value.
how custome search filter ?
how get data in eloquent model, not static array 'options' => 'App\JobDescription::$categories',