Skip to content

Commit 8429322

Browse files
author
Tanner Reits
committed
fix(segment-button): revert disabled reflection
1 parent ab5d4e5 commit 8429322

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/src/components/segment-button/segment-button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export class SegmentButton implements ComponentInterface, ButtonInterface {
4444
/**
4545
* If `true`, the user cannot interact with the segment button.
4646
*/
47-
@Prop({ mutable: true, reflect: true }) disabled = false;
47+
@Prop({ mutable: true }) disabled = false;
4848

4949
/**
5050
* Set the layout of the text and icon in the segment.

core/src/components/segment-view/test/disabled/segment-view.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
4343
);
4444

4545
const segmentButton = page.locator('ion-segment-button[value="free"]');
46-
await expect(segmentButton).not.toHaveAttribute('disabled');
46+
await expect(segmentButton).not.toHaveClass(/segment-button-disabled/);
4747
});
4848
});
4949
});

0 commit comments

Comments
 (0)