-
1 Oct 2010 12:06 PM #1
[OPEN-1304] TwinTriggerField hide trigger problem
[OPEN-1304] TwinTriggerField hide trigger problem
Ext version tested:
- Ext 3.2.1
Adapter used:
- ext
css used:
- only default ext-all.css
Browser versions tested against:
- IE8
- FF3 (firebug 1.3.0.10 installed)
Description:
- When a TwinTrigger field is hidden or is child of a hidden container, if you hide one of the triggers by using Cmp.triggers[index].hide(), once you show again the field or its container, the field will be shown with no width (and maybe other unwanted behaviors)
Test Case:
Code:tt = new Ext.form.TwinTriggerField({ width: 150, trigger1Class: 'x-form-clear-trigger', trigger2Class: 'x-form-search-trigger' }); var win = new Ext.Window({ title: 'window', height: 400, width: 400, items: [ tt ] }); win.show();
Steps to reproduce the problem:
- Type in the console:
- tt.hide();
- tt.triggers[0].hide();
- tt.show();
The result that was expected:
- The twintrigger field should maintain its width. The regular triggerfield doesn't suffer from this problem, so it looks like a bug.
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
How To dynamically hide/show one TwinTriggerField trigger
By marrrck in forum Ext GWT: DiscussionReplies: 8Last Post: 17 Jan 2012, 7:14 AM -
How to dynamically hide/show trigger on trigger field?
By netslayer in forum Ext 3.x: Help & DiscussionReplies: 3Last Post: 2 Aug 2010, 11:32 AM -
TwinTriggerField clear trigger rendering bug
By sgolla in forum Ext GWT: DiscussionReplies: 0Last Post: 26 Jun 2009, 4:46 AM


Reply With Quote