Backpack for Laravel: Filter select2: How to show only options from current table?

后端 未结 0 1734
生来不讨喜
生来不讨喜 2021-02-01 04:58

I have set filter select2 for column.

2nd parameter in $this->crud->addFilter is: function() { return MyModel::orderBy(\'code\')->get()->pluck(\'code\', \'id\

相关标签:
回答
  • 消灭零回复
提交回复
热议问题