Hi,

Scenario
I have a select field with predefined items. When I choose an item from the list a new item should be added to the list. If I could clone the selected item somehow and just change the value attribute that would work.

Problem
I have successfully managed to add items dynamically as described above. The problem is that they are not "valid" items. Looking at the predefined items in Chrome I can see "c"-objects, or whatever they are (components?), with data, events and everything. When I add items using either setOptions or adding to the store they just show up as regular objects, no events. This causes problems later when I need to fetch values/change the items.

Anyone have a solution for this? Yes, I have searched for answers, but haven't found anything.

Thanks.