[DateRangePicker] Problem encountered when selecting the last available year

Forge Component
(7)
Published on 2019-01-02 by Niels Favreau
7 votes
Published on 2019-01-02 by Niels Favreau

The problem encountered when I select the last year available in the calendar. We know that the system will not last that long yet still it was complained as bug by our client so we don't have any choice but to fix this.


after selecting the last year (2120) the other calendar did not update its year also it is still 2020


after selecting a date for 2120 the calendar does not show again


That is our problem how can we make it work properly?

Rogelio Guanlao wrote:

The problem encountered when I select the last year available in the calendar. We know that the system will not last that long yet still it was complained as bug by our client so we don't have any choice but to fix this.


after selecting the last year (2120) the other calendar did not update its year also it is still 2020


after selecting a date for 2120 the calendar does not show again


That is our problem how can we make it work properly?

You can try to set the date of the second calendar when selecting the the first date in the first calendar (e.g. onChange)

Can you send me an example espace?
That way i can have the same configuration as you do.

When i try it out on the website, i get the same results as you do (where the end year doesnt update). However, it sorted itself whenever i put 'AutoApply' to true