Results 1 to 3 of 3

Thread: [Modern] Date panel disabled dates aren't rendered

    You found a bug! We've classified it as EXTJS-27825 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,257

    Default [Modern] Date panel disabled dates aren't rendered

    In refreshPanes(), the current code refers to "this.getPanes().length", however getPanes() returns the count.

    Fix:

    Code:
    Ext.define(null, {
        override: 'Ext.panel.Date',
    
        privates: {
            refreshPanes: function() {
                if (this.isConfiguring) {
                    return;
                }
    
                const panes = this.getInnerItems();
                const len = panes.length;
    
                for (let i = 0; i < len; ++i) {
                    panes[i].refresh();
                }
            }
        }
    });
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

  2. #2
    Sencha - Forum Administrator
    Join Date
    Sep 2017
    Posts
    1,005

    Default

    Hello there- thank you for bringing this to our attention. I have shared this with the support team and they will be looking into it at their earliest convenience. Thank you!

    Michele

  3. #3
    Ext Support Team
    Join Date
    Jan 2018
    Posts
    567

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

Similar Threads

  1. Replies: 1
    Last Post: 15 Aug 2017, 11:10 AM
  2. Replies: 3
    Last Post: 14 Aug 2017, 1:28 PM
  3. Modern date panel - setPanes not working
    By LesJ in forum Ext JS 6.x Bugs
    Replies: 0
    Last Post: 14 Aug 2017, 12:52 PM
  4. Replies: 2
    Last Post: 2 Jun 2008, 12:57 PM

Posting Permissions

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