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,
hour: value
});
this.setActiveParts({
...this.activeParts,
hour: value
});
} else {
this.setWorkingParts({
...this.workingParts,
minute: value
});
this.setActiveParts({
...this.activeParts,
minute: value
});
}
}, 250);
});