-
22 Nov 2009 11:08 AM #71
-
22 Nov 2009 11:52 AM #72
@syscobra, very nice!
It won't make it into the component as I was specifically asked to create inline icons, but I like how you've adapted it to suit your needs!
-
22 Nov 2009 12:49 PM #73
Is there an option to limit the number of items?
I'd like to replace all comboboxes with this because edit form loading works so flawless with it.
-
24 Nov 2009 1:31 PM #74
@syscobra really nice! They're much cleaner!
Also, can we add this to the css?
Then you don't get the greyed out input type on disabled. It should follow the standard with all other disabled Ext form components. In addition, I don't know if anyone else agrees, but if the SuperBoxSelect is disabled, it should not show the emptyText if any as well.Code:.x-item-disabled .x-superboxselect-input input {background: none !important}
-
24 Nov 2009 4:12 PM #75
Ok i added it to the zip, so everyone who download it from now will get your fix rad, thanks

The empty text stuff i think you can modify it in the line 487 to fit your needs. (you can remove it in there) or you can modify the function in line 946.Javier Rincón aka SysCobra
-
25 Nov 2009 4:43 AM #76
In the EXT 3.0.3 will not work
error:
el.dom Undefined
-
25 Nov 2009 4:53 AM #77
@lanhun: works for me
-
25 Nov 2009 6:40 AM #78
-
25 Nov 2009 7:56 AM #79
Work for errors in the EXT3.0.3.
el.dom is undefined
Code:autoSize : function(){ if(!this.rendered){ return this; } if(!this.metrics){ this.metrics = Ext.util.TextMetrics.createInstance(this.el); } var el = this.el, v = el.dom.value, !!!!!!!!!!!!!!!! d = document.createElement('div');Code:var user_attr_multiselect = { xtype: 'superboxselect', fieldLabel: 'attr', resizable: true, name: 'user_attr[]', store: new Ext.data.JsonStore({ autoLoad: true, url: '__APP__/UserAttr/miniList/', root: 'data', fields: ['name', 'code'] }), mode: 'local', displayField: 'name', valueField: 'code', queryDelay: 0, triggerAction: 'all', forceSelection: true, forceFormValue: true, allowBlank: true };
-
25 Nov 2009 8:37 AM #80
I found a bug in setValue.
When the value is an empty Array it fails in line 1244:
To fix it I've added this just before line 1244:Code:var values = Ext.isArray(value) ? value : value.split(this.valueDelimiter);
Code:if(!value){ return; }





Reply With Quote