When valueField/textField are not explicitly set in opts, the auto-select logic (line 1140) and nullable empty-option creation (lines 1144-1145) used data[0][undefined] which returned undefined, causing: - Single-option selects to show blank (auto-select failed) - nullable empty options to have undefined keys Now extracts vf/tf local variables with ||'value'/||'text' fallback at the top of build_options(), used consistently throughout.
41 lines
654 B
XML
41 lines
654 B
XML
{
|
|
"widgettype":"DynamicAccordion",
|
|
"options":{
|
|
"data_url":"{{entire_url('./channels.dspy')}}",
|
|
"content_url":"{{entire_url('play_channel.dspy')}}",
|
|
"content_view":{
|
|
"id":"videoplayer",
|
|
"widgettype":"Iframe",
|
|
"options":{
|
|
"width":"100%",
|
|
"url":"${url}"
|
|
}
|
|
},
|
|
|
|
"record_view":{
|
|
"widgettype":"HBox",
|
|
"options":{
|
|
"height":"100%",
|
|
"width":"100%"
|
|
},
|
|
"subwidgets":[
|
|
{
|
|
"widgettype":"Icon",
|
|
"options":{
|
|
"rate":2,
|
|
"url":"${logo_url}"
|
|
}
|
|
},
|
|
{
|
|
"widgettype":"Text",
|
|
"options":{
|
|
"text":"${title}"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"page_rows":800,
|
|
"cache_limit":5
|
|
}
|
|
}
|