Add datepicker years

Add datepicker years

JaakkoJaakko Posts: 4Questions: 2Answers: 0

Is there way to increase shown years in default datepicker select box. I can only select years 10 years backwards and forwards. In my case I am using it for selected birthyear.

Couldn't find any tips nor documentation from here.

Answers

  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin

    If you set a minDate (see the datetime reference documentation) for the field in question Editor will show the years back to the given date. Likewise for the maxDate.

    Allan

  • JaakkoJaakko Posts: 4Questions: 2Answers: 0

    Under fields

    name: "birthday",
    type: "datetime",
    minDate: "11-11-1900",

    Still cannot select year 1982 for example

This discussion has been closed.