Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

特定条件下,$form->table组件的 新增按钮失效 #32

Open
a843611554 opened this issue Jan 9, 2023 · 0 comments
Open

特定条件下,$form->table组件的 新增按钮失效 #32

a843611554 opened this issue Jan 9, 2023 · 0 comments

Comments

@a843611554
Copy link

复现步骤
1、菜单进入一个列表页面 (带一个modal弹窗)例如:
$grid->column('slice_table', '绑定切片')->display('查看')
->modal(function (Grid\Displayers\Modal $modal) {
$modal->title('切片列表');
return BindSliceTable::make()->payload(['meeting_id' => $this->id]);
});

2、进入一个新的列表->点击新增按钮->弹窗异步表单 table组件例如
$this->table('library_set','初始导入题形',function (NestedForm $table){
$table->select('library_id','病理库')
->options(SliceLibraryModel::getOptWithSliceCount())->required();
$table->number('num','题目数量')
->attribute('min', 1)
->required();
});

这个时候,此table组件的新增按钮会失效,点击无效果,控制台无信息

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant