contao/import — Issue #2079: override - select with options callback not showing options
Author: importer
Created: 2011-11-29 19:00:38+00:00
State: open
Labels: backend, Defect, Invalid

I'm developing the gallery module's next version, and because multiple foreign keys (another feature request) has not been implemented, I have to use a options_callback.

[3] => 'John Brand'

The ID is the key and John Brand is the value.

Problem 1 -- When the override is now used to override this select value, no values are present in the drop-down, so its most likely not even called in override mode to setup the options.

Problem 2 -- (didn't want to make another ticket) When the field above is also added as a filter ('filter' => true), no values appear in the drop-down in the sort/group/filter header - as they are not reverse looked-up, so its not possible to filter on this custom-options field.

[Download the attachments](http://www.contao.org/tl_files/tickets/2079.zip "Download the attachments of this ticket")
Related issues: #1914

--- _Originally created by thyon on June 3rd, 2010, at 10:05pm (ID 2079)_