Results 1 to 5 of 5

Thread: DatePickerField does not work on 6.6.0+

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1

    Default DatePickerField does not work on 6.6.0+

    The date picker does not open. See official Kitchen Sink:

    https://examples.sencha.com/ExtReact...atepickerfield

    Code:
    ext.js:1 Uncaught TypeError: Cannot read property 'addCls' of null
        at constructor.initialize (ext.js:1)
        at constructor (ext.js:1)
        at constructor.callParent (ext.js:1)
        at constructor (ext.js:1)
        at new constructor (ext.js:1)
        at eval (eval at getInstantiator (ext.js:1), <anonymous>:3:8)
        at Object.create (ext.js:1)
        at constructor.applyPicker (ext.js:1)
        at constructor.callParent (ext.js:1)
        at constructor.applyPicker (ext.js:1)
    Code:
    ext.js:1 Uncaught TypeError: Cannot read property 'show' of undefined
        at constructor.showPicker (ext.js:1)
        at constructor.expand (ext.js:1)
        at constructor.onExpandTap (ext.js:1)
        at Object.callback (ext.js:1)
        at constructor.onClick (ext.js:1)
        at constructor.fire (ext.js:1)
        at constructor.fire (ext.js:1)
        at constructor.publish (ext.js:1)
        at constructor.publishDelegatedDomEvent (ext.js:1)
        at constructor.doDelegatedEvent (ext.js:1)

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

    Default

    Thanks for bringing this to our attention. I have shared it with support and they will follow up.

    Michele

  3. #3
    Sencha Premium User
    Join Date
    Feb 2017
    Posts
    3

    Default

    the root cause is you're in timezone with DST. the issue is "ExtDate.add(monthStart, ExtDate.DAY, startOffset);" in DateView.js. you could update it into ExtDate.add(monthStart, ExtDate.DAY, startOffset, true); by overriding refresh function within DateView.js. true arg is to bypass DST

  4. #4
    Sencha Premium User
    Join Date
    Nov 2018
    Posts
    1

    Thumbs up Thank you bpick88 for saving the world

    Quote Originally Posted by bpick88 View Post
    the root cause is you're in timezone with DST. the issue is "ExtDate.add(monthStart, ExtDate.DAY, startOffset);" in DateView.js. you could update it into ExtDate.add(monthStart, ExtDate.DAY, startOffset, true); by overriding refresh function within DateView.js. true arg is to bypass DST
    Thank pro. Sencha should be sent for you a ticket massage

  5. #5
    Sencha User
    Join Date
    Jun 2018
    Posts
    11

    Default

    How did you managed to start an app with sencha 6.6.0?

Similar Threads

  1. datepickerfield does not work with latest Chrome "43.0.2357.65 m"
    By Prolay in forum Sencha Touch 2.x: Bugs
    Replies: 4
    Last Post: 22 May 2015, 4:34 AM
  2. [FIXED] IE 10 2.2.0 alpha DatePickerField does not work
    By drb in forum Sencha Touch 2.x: Bugs
    Replies: 1
    Last Post: 28 Jan 2013, 5:52 AM
  3. Datepickerfield
    By lipepe in forum Sencha Touch 2.x: Q&A
    Replies: 2
    Last Post: 9 Jul 2012, 4:14 AM
  4. datepickerfield with value: new Date() does'nt work
    By sim4life in forum Sencha Touch 1.x: Discussion
    Replies: 4
    Last Post: 18 Dec 2011, 8:51 AM

Tags for this Thread

Posting Permissions

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