Skip to content

bug: disabled select inside item is not being fully disabled #29234

Description

@Airdevelopments

Prerequisites

Ionic Framework Version

v7.x

Current Behavior

Note: The issue only seems to appear when using Angular standalone components

When disabling a <ion-select> inside of a <ion-item>, the hover and touch / click styling still appears as enabled and pointer events are still executed.

Expected Behavior

We would expect the styling to appear disabled as well as point-events: none causing no (click) handlers to be called. This does seem to be the case when using the classic IonicModule.forRoot() approach and non-standalone components.

Steps to Reproduce

  1. Click on the button within the stackblitz
  2. Observe the styling when hovering / clicking on the ion-select
  3. Observe the console output when clicking

Code Reproduction URL

https://stackblitz.com/edit/angular-vvbkmf-cz7bqx?file=src%2Fapp%2Fapp.component.html

Ionic Info

see Stackblitz setup

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions