We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
比如现在我有一两个概念,
但我在进行筛选的时候,我可以使用 AddTableOptions 来从数据库获取到分组信息。但是我无法实现选择了分组的时候自动过滤出分组下的分区信息。
info.AddField("分组", "gid", db.Int). FieldHide(). FieldFilterable(types.FilterType{FormType: form.SelectSingle}). FieldFilterOptionsFromTable("group", "name", "id") info.AddField("分区", "zid", db.Int). FieldHide(). FieldFilterable(types.FilterType{FormType: form.SelectSingle}). FieldFilterOptionsFromTable("zone", "name", "id")
The text was updated successfully, but these errors were encountered:
http://doc.go-admin.cn/zh/admin/form/components/#_4 参考:https://github.com/GoAdminGroup/demo.go-admin.cn/blob/master/tables/user.go#L115
Sorry, something went wrong.
No branches or pull requests
Description [describe your questions]
比如现在我有一两个概念,
但我在进行筛选的时候,我可以使用 AddTableOptions 来从数据库获取到分组信息。但是我无法实现选择了分组的时候自动过滤出分组下的分区信息。
Example code [If you have any code info]
Others [screenshots or other info]
The text was updated successfully, but these errors were encountered: