nilshoerrmann/symphony-2 — comment on commit 39ee7de14e3c823394c8ba838ab1069bea68171b
File:  line 0
By nilshoerrmann:

The Pickable plugin always relied on a select box but for reasons I cannot remember anymore I decided to use a container element as main selector when first implementing it. This container is of now use – it's only used to fetch select boxes inside. The problem is the plural: while it's possible to have multiple instances of Pickable on the same site, one instance should only be bound to one select box. So I'd either have to use another logic to determine the correct select box or I'd have to change the main selector.

Using the select box itself as selector for Pickable makes sense in context of the other plugins: it unifies the general plugin concept where internally `objects` (the main selector) is used for the event handling and all the other heavy lifting.

I consider the former behaviour as a bug. The former implementation only makes sense if you allow other sources than select boxes but this would overcomplicate things because we rely on a nested structure and on a `value` attribute to fetch the different choices.