Closed zorro430 closed 11 months ago
Laravel Version: 8.83.27 PHP Version: 8.2.3 Dcat Admin Version: 2.2.2-beta
Grid的筛选器无效
$grid->selector(function (Grid\Tools\Selector $selector) { $selector->selectOne('status', [ 0 => '全部', 1 => '未批改', 2 => '已批改', 3 => '驳回', ]); });
点击后无法完成数据筛选。 下面是官网的例子截图,同样无法筛选
$grid->selector(function (Grid\Tools\Selector $selector) { $selector->select('brand', '品牌', ['AiW', '全有家居', 'YaLM', '甜梦', '饭爱家具', '偶堂家私']); $selector->select('category', '类别', ['茶几', '地柜式', '边几', '布艺沙发', '茶台', '炕几']); $selector->select('style', '风格', ['现代简约', '新中式', '田园风', '明清古典', '北欧', '轻奢', '古典']); $selector->selectOne('price', '售价', ['0-599', '600-1999', '1999-4999', '5000+']); });
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
我也遇到相同的问题了,是否在解决中
Laravel Version: 8.83.27 PHP Version: 8.2.3 Dcat Admin Version: 2.2.2-beta
Description:
Grid的筛选器无效
点击后无法完成数据筛选。 下面是官网的例子截图,同样无法筛选
Steps To Reproduce: