mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
fix(datetime): changing time emits ionChange (#23463)
This commit is contained in:
@ -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);
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user