It seems since updating to Views3 my select list no longer works. It just shows the select field with drop-down, but the list is empty.
I have updated all relevant modules:
Webform 6.x-3.17
Webform View Reference Component 6.x-1.x-dev
Views 6.x-3.0
I've flushed the cache, run update.php, etc to make sure all the latest updates are running.
The view itself is filtered by Node type and Published, sorted by node title, and displays node title. Very straightforward and no arguments. In the View preview, the list generates as it should.
Strangely, when I deselect the "Listbox" option, to render as checkboxes and not a select list, it comes up with only one option - seemingly randomly. I have also tried with various options of "Display text".
Not sure if there is a specific way one needs to set up the view (ie use a page/block display instead of the default) or if there is something else I am missing.
Comments
Comment #1
bwl7sju commentedI think I had to change viewselect.inc :
look for the theme_webform_option_text function and change it to this
function theme_webform_viewselect_option_text($rendered, $row, $field) {
if($rendered) {
//return html_entity_decode(_webform_filter_xss($row['rendered']));
return html_entity_decode(($row['rendered']));
} else {
return html_entity_decode(_webform_filter_xss($row['title']));
//return html_entity_decode(($row['title']));
}
}
Comment #2
alfthecat commentedHi,
Same issue here, #1 didn't solve it for me though.
Comment #3
freakalis commentedViews 3 support is implemented in beta3.