Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: DatePicker starts at 1980?

  1. #11
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,436

    Default

    You can create your own Picker with custom slots.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

  2. #12
    Sencha Premium Member
    Join Date
    Sep 2008
    Posts
    710

    Default

    Sure, but shouldn't have to do that to simply initialize a slot value to a specific number.

  3. #13
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,436

    Default

    You don't but if you try setting the value to a value that isn't in the picker, it won't show the correct value I wouldn't think.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

  4. #14
    Sencha Premium Member
    Join Date
    Sep 2015
    Location
    UK
    Posts
    22

    Smile DatePickerField yearFrom and yearTo - Ext JS 6 - Modern

    I was experiencing the same issue, in that my default yearFrom was appearing as 1980. I tried to include the yearFrom and yearTo param in the datapickerfield config but it didn't alter anything. I then included picker: {yearFrom: 2016, yearTo: 2025} to the datepickerfield and that worked perfectly.

    Thank you.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. 'Contains' instead of 'Starts with' in ComboBox autocomplete
    By ngd in forum Ext 2.x: Help & Discussion
    Replies: 10
    Last Post: 6 Jun 2013, 10:28 PM
  2. IE - Checkbox in a toolbar starts Unchecked
    By henrique-suave in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 27 Jun 2007, 9:12 PM
  3. Progress bar starts at the middle in IE
    By rjanos in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 13 Jun 2007, 3:20 PM
  4. How can I know when a drag starts from a grid?
    By Jonathan Feinberg in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 23 Apr 2007, 12:40 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
  •