feat(radio-group): ionChange will only emit from user committed changes (#26223)

This commit is contained in:
Sean Perkins
2022-11-07 18:03:08 -05:00
committed by GitHub
parent 003de44d92
commit c299d3666a
10 changed files with 189 additions and 10 deletions

View File

@@ -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 }) => {