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
CRUD开启loadDataOnce 目前Search Box只能指定一个字段,如何在前端实现多个字段,或全部字段的搜索
The text was updated successfully, but these errors were encountered:
配置 loadDataOnceFetchOnFilter 为 false 则为前端过滤,然后给需要搜索的字段配置searchable即可联合查询 效果如下
{ "type": "page", "body": { "type": "crud", "syncLocation": false, "api": "https://3xsw4ap8wah59.cfc-execute.bj.baidubce.com/api/amis-mock/mock2/sample", "loadDataOnce": true, "loadDataOnceFetchOnFilter": false, "autoGenerateFilter": true, "columns": [ { "name": "id", "label": "ID" }, { "name": "engine", "label": "Rendering engine" }, { "name": "browser", "label": "Browser" }, { "name": "platform", "label": "Platform(s)" }, { "name": "version", "label": "Engine version", "searchable": { "type": "select", "name": "version", "label": "Engine version", "clearable": true, "multiple": true, "searchable": true, "checkAll": true, "options": [ "1.7", "3.3", "5.6" ], "maxTagCount": 10, "extractValue": true, "joinValues": false, "delimiter": ",", "defaultCheckAll": false, "checkAllLabel": "全选" } }, { "name": "grade", "label": "CSS grade", "searchable": { "type": "select", "name": "grade", "label": "CSS grade", "clearable": true, "multiple": true, "searchable": true, "checkAll": true, "options": [ "A", "C", "X" ], "maxTagCount": 10, "extractValue": true, "joinValues": false, "delimiter": ",", "defaultCheckAll": false, "checkAllLabel": "全选" } } ] } }
Sorry, something went wrong.
CheshireJCat
No branches or pull requests
CRUD开启loadDataOnce
目前Search Box只能指定一个字段,如何在前端实现多个字段,或全部字段的搜索
The text was updated successfully, but these errors were encountered: