<![CDATA[ Adding MODX Combo to Collections list - My Forums]]> https://forums.modx.com/thread/?thread=95984 <![CDATA[Adding MODX Combo to Collections list]]> https://forums.modx.com/thread/95984/adding-modx-combo-to-collections-list#dis-post-519467
So far I have the editor set to: {"xtype":"modx-combo","data":["FR","SO","JR","SR"]} but the data does not show up as options. Is it just not implemented? The TV is a dropdown menu so I'd like to only allow the options contained in the TV to be edited from the list.]]>
pyrographics Jan 29, 2015, 11:44 AM https://forums.modx.com/thread/95984/adding-modx-combo-to-collections-list#dis-post-519467
<![CDATA[Re: Adding MODX Combo to Collections list]]> https://forums.modx.com/thread/95984/adding-modx-combo-to-collections-list#dis-post-557016 https://jsoneditoronline.org/ for stripping out all the whitespace and returns. Collections doesn't like those.]]> himmdesign Feb 26, 2018, 12:01 AM https://forums.modx.com/thread/95984/adding-modx-combo-to-collections-list#dis-post-557016 <![CDATA[Re: Adding MODX Combo to Collections list]]> https://forums.modx.com/thread/95984/adding-modx-combo-to-collections-list#dis-post-538887 Just to make it clear: I'm trying to add a dropdown-list for my TV in the Collections view.
]]>
vallev Feb 27, 2016, 10:58 PM https://forums.modx.com/thread/95984/adding-modx-combo-to-collections-list#dis-post-538887
<![CDATA[Re: Adding MODX Combo to Collections list]]> https://forums.modx.com/thread/95984/adding-modx-combo-to-collections-list#dis-post-520305 form me, your code gives an error:
Uncaught TypeError: undefined is not a function Ext-all.js:21]]>
vhollo Feb 09, 2015, 08:21 AM https://forums.modx.com/thread/95984/adding-modx-combo-to-collections-list#dis-post-520305
<![CDATA[Re: Adding MODX Combo to Collections list]]> https://forums.modx.com/thread/95984/adding-modx-combo-to-collections-list#dis-post-519551 It should be something like that:

        {
            xtype: 'modx-combo'
            , store: new Ext.data.SimpleStore({
                id: 0
                , fields: [{name: 'id'}, 'name']
                , data: [
                      ['FR', 'FR']
                    , ['SO', 'SO']
                    , ['JR', 'JR']
                    , ['SR', 'SR']
                ]
            })
            , triggerAction: 'all'
            , valueField: 'id'
            , displayField: 'name'
            , mode: 'local'
        }
]]>
m.engel Jan 30, 2015, 08:23 AM https://forums.modx.com/thread/95984/adding-modx-combo-to-collections-list#dis-post-519551