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,15 +8,18 @@
- fixed: DataForm doesn't keep posted values properly when data fails validation
- fixed: Documentation for DataForm and Thingy updated for Possible Values field
- added a new permission denied page for version tag approval
- fixed: Thingy list type form elements do not support key/value pairs
- fixed: Select Slider borked in Thingy
- fixed: Shortcuts includes HTML head data twice
- fixed: Thingy list type form elements do not support key/value pairs (SDH
Consulting Group)
- fixed: Select Slider borked in Thingy (SDH Consulting Group)
- fixed: Shortcuts includes HTML head data twice
- fixed: DataForm entry table isn't properly indexed
- fixed: DataForm can't export fields containing newlines
- fixed: UserList templates use incorrect variable names
- fixed: International characters in password prevents login
- fixed: SelectSlider form control is broken
- 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
- 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;
if ($self->session->form->param($name)) {
@defaultValues = $self->session->form->selectList($name);
@ -844,7 +844,7 @@ sub getFormElement {
$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};
my $values = WebGUI::Operation::Shared::secureEval($self->session,$data->{possibleValues});