PDA

View Full Version : BUG: Date picker inside popup closes the popup



beetree
25 Aug 2011, 9:51 AM
Hi,

Thanks for a great product. Just came across a bug today that I wanted to bring to your attention.

I have a popup:



var popup = new Ext.Panel({
floating: true,
modal: true,
centered: true,
width: 300,
height: 200,
items: [{


Activated with:



popup.show('pop');


Inside the popup I have an item:


}, {
xtype: 'datepickerfield',
name: 'date',
label: 'Date'
}]


The popup works fine with all field excepts for the date picker. When I click the date picker and choose a date the popup closes.


Is there any work around for this?

Thanks!

Best,
Johan

Zux_
1 Sep 2011, 4:39 AM
Hi,
I have the same problem. Could someone help us?

Thanks in advance

Best,
Andrea

beetree
1 Sep 2011, 6:06 AM
I will give it another ~2 weeks after which I will try to write a fix myself. I really need this feature.

Zux_
5 Sep 2011, 1:13 AM
You are right. I found a workaround using the search field and applying, on key up event, a custom date mask using a date format as placeholder. Try this if could help you.

Bye!