kirbydesign / designsystem

Kirby Design System
https://cookbook.kirby.design
MIT License
82 stars 22 forks source link

[Enhancement]Calendar: Unselect date #3379

Closed andershessellund closed 4 months ago

andershessellund commented 4 months ago

Describe the enhancement

I would like to unselect a date in the calendar component by setting the selectedDate input property to undefined.

Describe the solution you'd like

Setting selected date to undefined should remove the marking of the selected date. It should not change which month or year is displayed.

Checklist:

The following tasks should be carried out in sequence in order to follow the process of contributing correctly.

Refinement

Implementation

The contributor who wants to implement this issue should:

Review

Once the issue has been implemented and is ready for review: