fix(datetime): changing time emits ionChange (#23463)

This commit is contained in:
Liam DeBeasi
2021-06-18 09:23:19 -04:00
committed by GitHub
parent 2f6b1e4eea
commit b0cce360c8

View File

@ -955,11 +955,19 @@ export class Datetime implements ComponentInterface {
...this.workingParts, ...this.workingParts,
hour: value hour: value
}); });
this.setActiveParts({
...this.activeParts,
hour: value
});
} else { } else {
this.setWorkingParts({ this.setWorkingParts({
...this.workingParts, ...this.workingParts,
minute: value minute: value
}); });
this.setActiveParts({
...this.activeParts,
minute: value
});
} }
}, 250); }, 250);
}); });