fixed: Combo box does not show possible values in Thingy

This commit is contained in:
Yung Han Khoe 2008-10-06 12:56:05 +00:00
parent 20e561788b
commit a877a505c4
2 changed files with 8 additions and 5 deletions

View file

@ -8,8 +8,9 @@
- fixed: DataForm doesn't keep posted values properly when data fails validation - fixed: DataForm doesn't keep posted values properly when data fails validation
- fixed: Documentation for DataForm and Thingy updated for Possible Values field - fixed: Documentation for DataForm and Thingy updated for Possible Values field
- added a new permission denied page for version tag approval - added a new permission denied page for version tag approval
- fixed: Thingy list type form elements do not support key/value pairs - fixed: Thingy list type form elements do not support key/value pairs (SDH
- fixed: Select Slider borked in Thingy Consulting Group)
- fixed: Select Slider borked in Thingy (SDH Consulting Group)
- fixed: Shortcuts includes HTML head data twice - fixed: Shortcuts includes HTML head data twice
- fixed: DataForm entry table isn't properly indexed - fixed: DataForm entry table isn't properly indexed
- fixed: DataForm can't export fields containing newlines - fixed: DataForm can't export fields containing newlines
@ -17,6 +18,8 @@
- fixed: International characters in password prevents login - fixed: International characters in password prevents login
- fixed: SelectSlider form control is broken - fixed: SelectSlider form control is broken
- fixed: testEnvironment.pl can't find WebGUI modules after installing a prerequisite - fixed: testEnvironment.pl can't find WebGUI modules after installing a prerequisite
- fixed: Combo box does not show possible values in Thingy (SDH Consulting
Group)
7.6.0 7.6.0
- added: users may now customize the post received page for the CS - added: users may now customize the post received page for the CS

View file

@ -830,7 +830,7 @@ sub getFormElement {
} }
} }
if (WebGUI::Utility::isIn($data->{fieldType},qw(SelectList CheckList SelectBox Attachments))) { if (WebGUI::Utility::isIn($data->{fieldType},qw(SelectList CheckList SelectBox Attachments Combo))) {
my @defaultValues; my @defaultValues;
if ($self->session->form->param($name)) { if ($self->session->form->param($name)) {
@defaultValues = $self->session->form->selectList($name); @defaultValues = $self->session->form->selectList($name);
@ -844,7 +844,7 @@ sub getFormElement {
$param{value} = \@defaultValues; $param{value} = \@defaultValues;
} }
if (WebGUI::Utility::isIn($data->{fieldType},qw(SelectList SelectBox CheckList RadioList SelectSlider))) { if (WebGUI::Utility::isIn($data->{fieldType},qw(SelectList SelectBox CheckList RadioList SelectSlider Combo))) {
delete $param{size}; delete $param{size};
my $values = WebGUI::Operation::Shared::secureEval($self->session,$data->{possibleValues}); my $values = WebGUI::Operation::Shared::secureEval($self->session,$data->{possibleValues});