folkehelseinstituttet / Fhi.Frontend.Demo

MIT License
2 stars 1 forks source link

Set default `maxYear` and `maxDate` to 2099 instead of current year/date #575

Closed yleaxeman closed 3 months ago

yleaxeman commented 4 months ago

Problem

When using FhiDateTimeCompontent, it is only possible to select dates in the past.

Suggested solution

Set default maxDate in FhiDatepicker to 2099.

Acceptance criteria