Results 1 to 2 of 2

Thread: How to extend the maximum date in Modern's datepickerfield

  1. #1
    Sencha Premium User
    Join Date
    Jun 2011
    Location
    Perth, Western Australia
    Posts
    182
    Answers
    10

    Default How to extend the maximum date in Modern's datepickerfield

    Using 6.2.1
    modern toolkit

    The maximum date I am seeing in the datepickerfield is 31st Dec. 2017.

    There appears to be no maxDate config option.

    fiddle: (sorry this fiddle is slightly overkill to demo this issue) .. Look for the BIrthday field in the grirdeditable plugin popup form... double click a grid row to see form

    https://fiddle.sencha.com/#fiddle/1sch

  2. #2
    Sencha Premium User
    Join Date
    Jun 2011
    Location
    Perth, Western Australia
    Posts
    182
    Answers
    10

    Default

    Looks like you have to override: 'Ext.picker.Date'

    and set your own "yearTo" value.

    mmmm....

Similar Threads

  1. Replies: 0
    Last Post: 21 Nov 2016, 10:39 PM
  2. set datepickerfield minimum and maximum date
    By fabdulqader in forum Sencha Touch 2.x: Q&A
    Replies: 3
    Last Post: 26 Nov 2012, 9:05 AM
  3. Setting Default date in Datepickerfield
    By [email protected] in forum Sencha Architect 2.x: Help & Discussions
    Replies: 2
    Last Post: 15 Aug 2012, 5:21 PM
  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
  5. DatePickerField with date from store ?
    By GermanGuy in forum Sencha Touch 1.x: Discussion
    Replies: 1
    Last Post: 9 Feb 2011, 2:59 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
  •