datagrid icon indicating copy to clipboard operation
datagrid copied to clipboard

Invalid argument supplied for foreach() FilterMultiSelect

Open xpackal5 opened this issue 7 years ago • 2 comments

Hello. FilterMultiSelect get me this error. `
/** * Get filter condition * @return array */ public function getCondition() { $return = [$this->column => []]; foreach ($this->getValue() as $value) { $return[$this->column][] = $value; }

            return $return;
        }

File: .../ublaboo/datagrid/src/Filter/FilterMultiSelect.php:54

Options are simple array. FilterSelect works fine.

Milan `

xpackal5 avatar Jun 11 '18 14:06 xpackal5

Mee too. I fix this with setValue() with all keys

czPechy avatar Jul 10 '18 16:07 czPechy

example would be appreciated! always...

Jurix avatar Nov 08 '18 02:11 Jurix