问题描述
我的自定义元素扩展 呈现 GroupedDropdownField 以从视频 - 数据对象中选择视频。
这在以下情况下效果很好 inline_editable 设置为 false。
当我尝试将 inline_editable 设置为 true 时,不会呈现 GroupedDropdownField。
如何在 inline_editing 为 true 时显示 GroupedDropdownField?
2021-01-23 15:50:21.290 UTC [endorser] SimulateProposal -> ERRO 06b [prime][ae3d2fb5] Failed to invoke chaincode name:"prime-cc-doc-energy",error: timeout expired while starting chaincode prime-cc-doc-energy:1.1.2 for transaction
github.com/hyperledger/fabric/core/chaincode.(*RuntimeLauncher).Launch
/opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/runtime_launcher.go:75
[...]
2021-01-23 14:51:47.713 UTC [dockercontroller] func2 -> INFO 040 Container prime-prd-peer0-prd.blockchain.biz-prime-cc-doc-energy-1.1.2 has closed its IO channel
2021-01-23 14:51:47.769 UTC [endorser] callChaincode -> INFO 041 [prime][e18c6f7d] Exit chaincode: name:"prime-cc-doc-energy" (688939ms)
2021-01-23 14:51:47.771 UTC [endorser] SimulateProposal -> ERRO 042 [prime][e18c6f7d] Failed to invoke chaincode name:"prime-cc-doc-energy",error: timeout expired while starting chaincode prime-cc-doc-energy:1.1.2 for transaction```
解决方法
在撰写本文时,在当前的 Silverstripe CMS 配方版本 (4.7.0
) 中,GroupedDropdownField
没有 React 实现,这是 Elemental 内联编辑器支持呈现它所必需的。
不幸的是,目前您需要使用具有 React 实现的不同字段,或者自己编写。