fixed: selecting some field types will crash Thingy
This commit is contained in:
parent
af7fe6be40
commit
8fce11c813
2 changed files with 2 additions and 1 deletions
|
|
@ -614,7 +614,7 @@ sub getFormElement {
|
|||
$param{value} = ($data->{defaultValue} =~ /checked/xi) ? 1 : "";
|
||||
}
|
||||
|
||||
if (WebGUI::Utility::isIn($data->{fieldType},qw(SelectList CheckList SelectBox))) {
|
||||
if (WebGUI::Utility::isIn($data->{fieldType},qw(SelectList CheckList SelectBox Attachments SelectSlider))) {
|
||||
my @defaultValues;
|
||||
if ($self->session->form->param($name)) {
|
||||
@defaultValues = $self->session->form->selectList($name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue