mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
feat(radio-group): ionChange will only emit from user committed changes (#26223)
This commit is contained in:
@@ -149,7 +149,7 @@ test.describe('select: ionChange', () => {
|
||||
await radioButtons.nth(0).click();
|
||||
|
||||
await ionChange.next();
|
||||
expect(ionChange).toHaveReceivedEventDetail({ value: 'apple' });
|
||||
expect(ionChange).toHaveReceivedEventDetail({ value: 'apple', event: { isTrusted: true } });
|
||||
});
|
||||
|
||||
test('should fire ionChange when confirming a value from an action sheet', async ({ page }) => {
|
||||
|
||||
Reference in New Issue
Block a user