-
-
Notifications
You must be signed in to change notification settings - Fork 149
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
关于联动级联加载的问题 #271
Comments
就是不需要远程加载,只是本地的两个下拉联动,b下拉的列表项,需要根据a选择哪一项,b去加载a的某一个属性,作为b的下拉列表内容。 |
enumSource可以支持dx表达式么,作者大人? |
可以 |
额,作者大人,我想你理解错了我的意思了,我想让第二个列表加载第一个列表选中的列表项的属性, |
{ |
不是通过请求的形式,可以不? |
{
"type":"object",
"properties":{
"province":{
"type":"string",
"ui":{
"widget":"select",
"widgetConfig":{
"itemDataKey":"selectedItem",
"enumSource":[
{
"value":"1",
"label":"广东",
"cities":[
{
"value":"1-1",
"label":"广州"
}
]
},
{
"value":"2",
"label":"北京",
"cities":[
{
"value":"2-2",
"label":"北京"
}
]
}
]
}
}
},
"city":{
"type":"string",
"ui":{
"widget":"select",
"widgetConfig":{
"itemDataKey":"selectedItem",
"enumSource":"dx: {{$temp.selectedItem.cities}} || []"
}
}
}
}
} |
太谢谢啦!!!感谢感谢!!泪目 |
还有个问题哈,dx同学,本地的 |
这个组件没有这个功能,需要通过自定义widget来实现,可以参考 select 的实现 |
大佬我想问一下,我现在有个需求,比如,a下拉的子项属性里面有b下拉需要加载的全部信息,这个要怎么实现呢?咱们现在的ncform支持这个功能不,球球了,回一个~蟹蟹
The text was updated successfully, but these errors were encountered: