Uploaded image for project: 'Document Management System'
  1. Document Management System
  2. DMS-304

Create Document template | Date picker issue when year is changed

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Company:
      All Clients/Multiple Clients

      Description

      Replication steps :
      1) Open the dashboard
      2)Click on create document template
      3) check Does this form required an expiration date?
      4) Enter "Valid from" and "Valid to" date manually eg : 05/05/1990
      5)Then open the date picker, in year only upto 20 years are seen eg from 1980-2000

      Expected : When year is changed manually or through date picker, all the years should be listed . there should not be restrictions of upto 20 years

        Attachments

        1. DatePicker1.jpg
          DatePicker1.jpg
          150 kB
        2. DatePicker2.jpg
          DatePicker2.jpg
          145 kB

          Issue Links

            Activity

            Show
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - Priya Dhamande Samir Satya Swapnil Pandhare
            Hide
            narendra.kumar Narendra Kumar added a comment -

            Hi Jayshree Nagpure

            What do you mean by all the years should be listed? See its the date picker functionality that you can see 20 Years at one time but when you select the first year from the dropdown and then again click on the year, It will show you the other 20 Years.

            For example: By default, it will show you date from 2008 to 2028. When you select 2008 and again click on the year dropdown it will show you date from 1998 to 2017. So in this way, you can select any year that you want to.

            So tell me what to do?

            cc - Swapnil Pandhare, Samir

             

            Thanks

            Narendra K.

            Show
            narendra.kumar Narendra Kumar added a comment - Hi Jayshree Nagpure What do you mean by all the years should be listed?  See its the date picker functionality that you can see 20 Years at one time but when you select the first year from the dropdown and then again click on the year, It will show you the other 20 Years. For example: By default, it will show you date from 2008 to 2028. When you select 2008 and again click on the year dropdown it will show you date from 1998 to 2017. So in this way, you can select any year that you want to. So tell me what to do? cc - Swapnil Pandhare , Samir   Thanks Narendra K.
            Hide
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment -

            Hi Narendra Kumar,

            If already year is selected as 1996 and I have to update the year from 1996 to 2018, but in this case years are listed in date picker is from 1986-2006.
            To jump to 2018 I have to first select 2006 then it will show from 1996-2016.
            then again select the year as 2016 then will show 2018 and then will be able to select year as 2018.
            In this case if we have to select the year greater than 20years then we have to jump into number of sections which is incorrect.
            same would be the case if i have to move 20 years back even though by default date is shown from 2008 to 2018.

            So here I would suggest to increase the number of years.

            Thanks,
            Jayshree

            cc - Priya Dhamande Samir Swapnil Pandhare

            Show
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - Hi Narendra Kumar , If already year is selected as 1996 and I have to update the year from 1996 to 2018, but in this case years are listed in date picker is from 1986-2006. To jump to 2018 I have to first select 2006 then it will show from 1996-2016. then again select the year as 2016 then will show 2018 and then will be able to select year as 2018. In this case if we have to select the year greater than 20years then we have to jump into number of sections which is incorrect. same would be the case if i have to move 20 years back even though by default date is shown from 2008 to 2018. So here I would suggest to increase the number of years. Thanks, Jayshree cc - Priya Dhamande Samir Swapnil Pandhare
            Hide
            narendra.kumar Narendra Kumar added a comment -

            Hi Jayshree Nagpure,

            We are using the third party library ngbDatepicker for the date picker. And I went through the complete library but didn't find any method so that we can change the no of years in the drop-down.

            The other option which we have is changing the date-picker library. So tell me what to do?

            cc - Samir, Swapnil Pandhare

             

            Thanks

            Narendra K.

            Show
            narendra.kumar Narendra Kumar added a comment - Hi Jayshree Nagpure , We are using the third party library  ngbDatepicker for the date picker. And I went through the complete library but didn't find any method so that we can change the no of years in the drop-down. The other option which we have is changing the date-picker library. So tell me what to do? cc - Samir , Swapnil Pandhare   Thanks Narendra K.
            Hide
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment -

            Swapnil Pandhare Can you please suggest on above comments by Narendra Kumar

            Thanks,
            Jayshree

            cc - Priya Dhamande Samir Narendra Kumar

            Show
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - Swapnil Pandhare Can you please suggest on above comments by Narendra Kumar Thanks, Jayshree cc - Priya Dhamande Samir Narendra Kumar
            Hide
            swapnil.pandhare Swapnil Pandhare (Inactive) added a comment -

            Hi Molly Ronovsky ,

            Can you please update on this document expiration no. of years? Currently, date picker is restricted for 20 years. Would this be fine ?

            Thanks,
            Swapnil P

            Show
            swapnil.pandhare Swapnil Pandhare (Inactive) added a comment - Hi Molly Ronovsky , Can you please update on this document expiration no. of years? Currently, date picker is restricted for 20 years. Would this be fine ? Thanks, Swapnil P
            Hide
            molly.ronovsky Molly Ronovsky (Inactive) added a comment -
            Show
            molly.ronovsky Molly Ronovsky (Inactive) added a comment - Swapnil Pandhare Yes
            Hide
            narendra.kumar Narendra Kumar added a comment -

            Hi Swapnil Pandhare

            As Molly Ronovsky has confirmed that the current process is fine. So marking this task in code review.

             

            cc - Priya Dhamande, Jayshree Nagpure

            Thanks

            Narendra

            Show
            narendra.kumar Narendra Kumar added a comment - Hi Swapnil Pandhare As Molly Ronovsky has confirmed that the current process is fine. So marking this task in code review.   cc - Priya Dhamande , Jayshree Nagpure Thanks Narendra
            Hide
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment -

            As per above comments closing this ticket.

            Thanks,
            Jayshree

            cc - Swapnil Pandhare Samir Priya Dhamande Hrishikesh Deshpande Satya

            Show
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - As per above comments closing this ticket. Thanks, Jayshree cc - Swapnil Pandhare Samir Priya Dhamande Hrishikesh Deshpande Satya

              People

              Assignee:
              narendra.kumar Narendra Kumar
              Reporter:
              jayshree.nagpure Jayshree Nagpure (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 8h
                  8h
                  Remaining:
                  Time Spent - 7h Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - 7h Remaining Estimate - 1h
                  7h