Skip to content

Conversation

Superoryco
Copy link

What‘s New?

使用ID Selector替代了SaveOrderBtn中的Class Selector

Why?

当需要在一个Form中添加多个Sortable Grid时, 由于之前使用Class Selector导致点击’Save Order‘后触发重复提交。现在使用Grid Name区分不同按钮,如果一个页面中只存在一个Sortable Grid则用法保持不变,存在多个Sortable Grid时通过$grid->setName('xxx');提供标识从而避免重复提交

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

Successfully merging this pull request may close these issues.

1 participant