Quote from: BobRay at May 29, 2009, 06:01 PM
BTW, I still have that goofy bug where the right-side menu drop-downs show the keys instead of the values (in FF). I’ve cleared all caches & cookies, deleted the core/cache directory, reloaded the core lexicon, and done several installs, but it’s still there. Everything works so it’s purely cosmetic but kind of a mystery. I closed it in Jira because I don’t see it in fresh installs or my local site upgraded to beta 1 but it’s still there on the remote.
Right. That’s an ExtJS bug with Comboboxes (ExtJS combos are the bane of me) that i’ve just been completely unable to fix. I’ve tried adding settimeout calls to refresh it, but that seems to only work with a delay - if at all.
The problem is that the combobox’s store (basically its data storage object) isn’t loaded until you click the trigger for the combo. They don’t load on render. So, to circumvent that, I had extended the Ext.form.ComboBox class to create MODx.combo.ComboBox, which fires the load on render...but this doesn’t always seem to fire, and causes problems with rendering if the combo isn’t fully placed or rendered yet. Hence the value only appearing, since the store doesnt have the display values yet.
Basically I’m stumped at this point. Maybe a fix will come to me in a couple months. Who knows.