ionic-team / ionic-v3

The repo for Ionic 3.x. For the latest version of Ionic, please see https://github.com/ionic-team/ionic
Other
127 stars 85 forks source link

Ionic 3 latest ion-option disabled option ignored on action-sheet display #533

Open ionitron-bot[bot] opened 6 years ago

ionitron-bot[bot] commented 6 years ago

Original issue by @mzealey on 2017-12-16T18:10:53Z

Ionic version: (check one with "x") (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1) [ ] 2.x [x] 3.x [ ] 4.x

I'm submitting a ... (check one with "x") [x] bug report [ ] feature request

Current behavior:

    <ion-select interface="action-sheet">
        <ion-option value="..." [disabled]="true">option</ion-option>

option does not get disabled. Alert/popover interfaces look at the disabled attribute (eg https://github.com/ionic-team/ionic/blob/master/src/components/select/select.ts#L333) but ion-option disabled attribute is not inspected for action-sheet interface.

Expected behavior:

Option should show as a disabled box

Hanzofm commented 5 years ago

Some news about this?

varogonz95 commented 5 years ago

This still happens in v4. Im using the latest version and this seems not to work. It works with Alert and Popover interfaces though. It's a shame since using ActionSheet seems more concise and consistent with the UI

nacho004 commented 4 years ago

We need a fix for this in Ionic 3. It's so annoying

cicerothoma commented 3 years ago

This is still not working 😢