1 Feb 2012 7:04 AM #1
Multi-select not working in Firefox or Safari
I recently upgraded my Ext JS library from 2.0 Beta to 3.4. After the migration (nothing else changed) my multi-select function has stopped working.
On my site a user should be able to select multiple items from a list and then a drop down menu populates to allow the user to pull those specific items into another window (specified by clicking an option in the drop down menu). This is working in IE still, but in Firefox and Safari the check boxes looked checked, but the drop down menu does not populate.
After installing Firebug, it told me that in the following line, multiSelect was null.
var selectedOpt = Ext.get('multiSelect').getValue();
Why would this not be working in just Firefox and Safari after a library change??? Can anyone help me?
1 Feb 2012 7:14 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Assuming you have selModel defined? singleSelect on the selectionmodel should default to false which means multi select is default.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
1 Feb 2012 8:46 AM #3
I don't see where I have selModel defined on this page. So shouldn't it default to multi-select then?