mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 03:00:58 +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,
|
||||
hour: value
|
||||
});
|
||||
this.setActiveParts({
|
||||
...this.activeParts,
|
||||
hour: value
|
||||
});
|
||||
} else {
|
||||
this.setWorkingParts({
|
||||
...this.workingParts,
|
||||
minute: value
|
||||
});
|
||||
this.setActiveParts({
|
||||
...this.activeParts,
|
||||
minute: value
|
||||
});
|
||||
}
|
||||
}, 250);
|
||||
});
|
||||
|
Reference in New Issue
Block a user