So I had a play around with Collections to see how to get the combobox definitions in there.
The definitions I posted above are JavaScript and meant for custom manager pages so you won’t be able to just copy and paste them into the Collections column editor field. That only allows JSON.
Collections has been designed really well (kudos to the author @theboxer ) and allows you to set your own custom JS file to get loaded.
Create a JS file in your assets directory. For simplicity sake, create a file called test.js in your assets directory.
Go to the MODX system settings page and select the Collections namespace filter. Then in the collections.user_js setting, enter the value: {assets_url}test.js. This will instruct Collections to load your new test.js file whenever Collections is initiated.
For this example, copy and paste the ZoomLevel example I posted above into your new test.js file but change all the “MyExtra” parts to “collections”. i.e.
You said you tried Susan’s example. What happened? It didn’t work?
Didn’t try this as it uses x-type: modx-combo-user. I recognised it as similar to what I need but not close enough that I could figure out how to make it happen on my own.
From your example (and link to collections.combo.js which I failed to recognise when poking around the code on my own), I should have enough to be able to make a combo dropdown with key > value pairs for more user friendly display eg. zoomlevel high=1, medium=5, low=10.
Heavy workload today but I’ll get to this over the weekend.