Skip to content

Commit

Permalink
✨ Allow usePopover to be turned on in calendar (#2102)
Browse files Browse the repository at this point in the history
  • Loading branch information
MadsBuchmann authored Mar 14, 2022
1 parent 985fbbe commit 85ae73c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
</div>
<kirby-dropdown
*ngIf="_hasYearNavigator"
[usePopover]="usePopover"
[selectedIndex]="navigatedYear"
[items]="navigableYears"
popout="left"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ export class CalendarComponent implements OnInit, AfterViewInit, OnChanges {
@Input() disableFutureDates = false;
@Input() alwaysEnableToday = false;
@Input() customLocales: { [key: string]: Locale } = {};
/*
Experimental: Input property not documented on purpose.
For context see: https://github.com/kirbydesign/designsystem/issues/2087
*/
@Input() usePopover = false;
/**
* Configuration for the year navigator.
*
Expand Down

0 comments on commit 85ae73c

Please sign in to comment.