You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: ion-datetime-button: when clicking datetime-button a second time, date is not selected and previous month buttons does not work. #31155
I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v8.x
Current Behavior
When clicking ion-datetime-button a second time, date is not selected and previous month buttons does not work.
Expected Behavior
When a value has been set the first time and we open ion-datetime-button again, the date should still be selected and the previous and next month buttons should work properly.
(This is from your own StackBlitz link, ionic info is not installed, but here is the package.json)
{
"name": "html-starter",
"private": true,
"type": "module",
"main": "index.ts",
"scripts": {
"dev": "vite",
"build": "vite build",
"start": "vite preview"
},
"dependencies": {
"@ionic/core": "8.8.7",
"ionicons": "8.0.13"
},
"devDependencies": {
"typescript": "~5.9.0",
"vite": "^8.0.0",
"vite-plugin-static-copy": "^4.0.0"
}
}
@shinkhouse I can suggest a workaround for now, until @IonicTeam solves this issue. Set min value for ion-datetime during initialization and unset it afterwards.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Activity
r345on commentedon Jun 11, 2026
@shinkhouse I can suggest a workaround for now, until @IonicTeam solves this issue. Set
minvalue for ion-datetime during initialization and unset it afterwards.fix(datetime): tear down ready state when an overlay dismisses (ionic…
ShaneK commentedon Aug 12, 2026
Thanks for highlighting this issue, this is fixed now as part of v8.8.18!
datetime-readygets stuck after the element is relocated in the DOM, so it never re-initializes on re-show #31281 as a duplicate of this issueionitron-bot commentedon Sep 11, 2026
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
fix(datetime): tear down ready state when an overlay dismisses (ionic…