From b0cce360c83ac564e053523cc31b32d1deaeda0c Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Fri, 18 Jun 2021 09:23:19 -0400 Subject: [PATCH] fix(datetime): changing time emits ionChange (#23463) --- core/src/components/datetime/datetime.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/core/src/components/datetime/datetime.tsx b/core/src/components/datetime/datetime.tsx index 38e4be72a5..727eead221 100644 --- a/core/src/components/datetime/datetime.tsx +++ b/core/src/components/datetime/datetime.tsx @@ -955,11 +955,19 @@ export class Datetime implements ComponentInterface { ...this.workingParts, hour: value }); + this.setActiveParts({ + ...this.activeParts, + hour: value + }); } else { this.setWorkingParts({ ...this.workingParts, minute: value }); + this.setActiveParts({ + ...this.activeParts, + minute: value + }); } }, 250); });