Results 1 to 4 of 4

Thread: DateField/DatePicker in menu not working

    You found a bug! We've classified it as EXTGWT-4784 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha Premium Member
    Join Date
    Jan 2016
    Posts
    4

    Default DateField/DatePicker in menu not working

    Hi,

    I have a DateField inside a panel that displays from a menu. In GXT 2 this arrangement worked fine, but I am unable to get it to work in GXT 4.What happens is that when you click to select from the DatePicker, the menu immediately closes and the date value is not selected. My panel has several fields on it and I don't want the menu panel to close when a date is selected.

    This simplified code shows the problem...

    Code:
    SimpleContainer container = new SimpleContainer();
    DateField dateField = new DateField();
    FieldLabel label = new FieldLabel(dateField, "My Date");
    container.add(label);
    Menu menu = new Menu();
    menu.add(container);
    MenuBarItem menuBarItem = new MenuBarItem("Kipper", menu);
    MenuBar menuBar = new MenuBar();
    menuBar.add(menuBarItem);
    Thanks for any assistance anyone can offer...

  2. #2
    Sencha Sr Product Manager
    Join Date
    Jan 2012
    Location
    Arlington, WA
    Posts
    1,167

    Default

    Thanks for the test. I see the issue, but not sure how to solve it yet. I'll get back with more soon.

  3. #3
    Sencha Premium Member
    Join Date
    Jan 2016
    Posts
    4

    Default

    Hi branflake,

    Were you able to make any progress on solving this issue?

    Thanks.

  4. #4
    Sencha Sr Product Manager
    Join Date
    Jan 2012
    Location
    Arlington, WA
    Posts
    1,167

    Default

    Engineering hasn't gotten to it yet. If you need a workaround, file a support ticket, bugs don't cost anything, and I can see if there are options around the issue and send that to you.

    Thanks,
    Brandon

Similar Threads

  1. Datefield without DatePicker?
    By jtb4x in forum Ext: Q&A
    Replies: 2
    Last Post: 16 Mar 2012, 5:50 AM
  2. Replies: 4
    Last Post: 14 Nov 2011, 11:15 PM
  3. DateField and DatePicker
    By jey07ro in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 1 Oct 2007, 10:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •