-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Closed
Labels
package: core@ionic/core package@ionic/core packagetype: buga confirmed bug reporta confirmed bug report
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
- v4.x
- v5.x
- v6.x
- Nightly
Current Behavior
slot="title" is not displayed when presentation="month-year" and [preferWheel]="true"
Expected Behavior
Title is displayed
Steps to Reproduce
<ion-datetime-button datetime="datetime"></ion-datetime-button>
<ion-modal [keepContentsMounted]="true">
<ng-template>
<ion-datetime presentation="month-year" id="datetime" [preferWheel]="true">
<div slot="title">MY TITLE</div>
</ion-datetime>
</ng-template>
</ion-modal>
But if you change the presentation to "date" - everything works as expected
Code Reproduction URL
https://stackblitz.com/edit/angular-4shiwd-7qhimw?file=src%2Fapp%2Fexample.component.html
Ionic Info
"@ionic/angular": "6.4.1",
"@ionic/core": "6.4.1"
Additional Information
No response
Metadata
Metadata
Assignees
Labels
package: core@ionic/core package@ionic/core packagetype: buga confirmed bug reporta confirmed bug report