-
21 Jan 2010 6:58 AM #311
-
21 Jan 2010 7:40 AM #312
Lazy reader


Did anybody test validationEvent: false? It doesn't work for me.
-
22 Jan 2010 4:40 AM #313
Feature request: split entered values at delimiter
Feature request: split entered values at delimiter
Hello,
while using the SuperBoxSelect, I noticed that values the user inserts into the box containing the delimiter are not splitted after pressing enter before they are assigned to the box. I would prefer a behavior like that implemented in the setValue() method, which splits the values at the delimiter.
Example:
New value inserted: My new value, another value, third value
After Pressing enter: (My new value, another value, third value)
Preferred behavior : (My new value) (another value) (third value)
What is your opinion about that?
Regards,
Phillip
-
24 Jan 2010 12:37 PM #314
Two small issues/bugs that I observed recently:
1. I wanted to render box items as links (I mean text on box items is rendered as link). It can be done easily using displayFieldTpl. However, clicking on such link doesn't work - the event is captured and stopped. The culprit is this method:
I changed "stopEvent" to "stopPropagation" and links started to work (I also haven't observed any negative side effects of this change):Code:enableElListeners : function() { this.el.on('click', this.onElClick, this, {stopEvent:true}); this.el.addClassOnOver('x-superboxselect-item x-superboxselect-item-hover'); },
2. When we already have the items rendered as links, it looks strange that the "Remove item" button (the "X" button on the item box) is rendered as link too, and you see dummy URL in browser status bar while hovering over this button. So I've found this code:Code:enableElListeners : function() { this.el.on('click', this.onElClick, this, {stopPropagation:true}); this.el.addClassOnOver('x-superboxselect-item x-superboxselect-item-hover'); },
It looks suspicious to me: why the "a" is used as default, and "button" only on Safari? IMHO, the "button" default is much more reasonable (becuase what you see in UI is actually a button). The only explanation for using link is to to have hover effect in IE6. So I changed it to:Code:var btnEl = this.owner.navigateItemsWithTab ? ( Ext.isSafari ? 'button' : 'a') : 'span';
I had to also change the code a few lines below to make it work properly:Code:var btnEl = this.owner.navigateItemsWithTab ? ( Ext.isIE6 ? 'a' : 'button') : 'span';
Now it renders as "button" in all browsers except IE6, and works better, because you don't see the dummy link URL on hover.Code:if(btnEl === 'a'){ cfg.href = '#'; } //change default "submit" type to "button" to prevent dummy URL showing up in browser status bar on hover if(btnEl === 'button'){ cfg.type = 'button'; }
-
26 Jan 2010 2:14 AM #315
Store error
Store error
Hi all ,first of all , congrats to the author for this amazing extension
I am having an error when using it and not find out why.
I have a window with a form inside, and a superboxselect in their fields, with settings:
allowBlank:false,
xtype:'superboxselect',
id:'test',
name :'test',
fieldLabel: 'test',
emptyText: 'test',
store: myStore,
mode: 'local',
displayField: 'Name',
displayFieldTpl: '{Name}',
valueField: 'UserId'
When I open that window to close it show me an error
This.store is null (this.store.clearFilter) on SuperBoxSelect.js line 1011
In another window and a different designation form, which makes is that the entire form disappears.
I try with the examples states store , and same error
Does anyone have an idea that could be happening?
Thanks a lot
-
26 Jan 2010 2:49 AM #316
Seems to be related to the this.resetStore(); call in killItems function . If i comment this line, everything seems to work ok
-
26 Jan 2010 5:58 PM #317
I have my own test case for opening a window and closing it which works without error. If you are having problems, please post a copy-pasteable test case as per this thread:
http://www.extjs.com/forum/showthread.php?t=71015
Thanks.
-
4 Feb 2010 9:37 AM #318
In 3.1.1 this line in ext-all.css looks like is conflicting
making superbox container unable to stretch vertically.Code:.ext-strict .x-small-editor .x-form-text { height:16px !important; }
In 3.0 height is defined without '!important', thus removed, puts everything back in place, but probably destroys something else, as I guess it's made the way there for purpose ...
-
4 Feb 2010 9:39 AM #319
-
4 Feb 2010 1:39 PM #320
Thanks @Stju
I'll look at the CSS and change the update years - doh!



Reply With Quote
(This years updates are still marked as 2009)