question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ion-select-option -> ion-select interface="action-sheet"

See original GitHub issue

Description: disabled is working with default/popover interface , when you change it to action-sheet it doesn’t work , in fact the button is clickable but when you click it, ion-select choose another option.

My ionic info:

Ionic:

   Ionic CLI                     : 6.10.1 (/usr/local/lib/node_modules/@ionic/cli)
   Ionic Framework               : @ionic/angular 5.2.1
   @angular-devkit/build-angular : 0.803.26
   @angular-devkit/schematics    : 8.3.26
   @angular/cli                  : 8.3.26
   @ionic/angular-toolkit        : 2.2.0

Cordova:

   Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms : android 8.1.0, ios 6.0.0
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 11 other plugins)

Utility:

   cordova-res (update available: 0.15.0) : 0.9.0
   native-run (update available: 1.0.0)   : 0.3.0

System:

   Android SDK Tools : 26.1.1 (/Users/teamwebmobile/Library/Android/sdk)
   ios-deploy        : 1.10.0
   ios-sim           : 8.0.2
   NodeJS            : v12.16.3 (/usr/local/bin/node)
   npm               : 6.14.4
   OS                : macOS Catalina
   Xcode             : Xcode 11.5 Build version 11E608c

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
liamdebeasicommented, Jun 19, 2020

We do have plans for something like this 👀 . It will likely require a breaking change, so we will release it with a major version update.

1reaction
liamdebeasicommented, Jun 19, 2020

Thanks! You are correct, this is confusing. ion-action-sheet does not allow for disabled buttons, so I will update the documentation to clarify this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ion-select: Select One or Multiple Value Boxes or Placeholders
The select component's value receives an array of all of the selected option values. Note: the action-sheet and popover interfaces will not work...
Read more >
[4.0.0] ion-select interface="action-sheet" not refreshing the ...
Current behavior: The ion-select action sheet correctly renders the initial list of items. But if an item is removed programmatically from the ...
Read more >
Is there any way to disable first option with ion-select interface ...
Here's stated that this issue is related to interface="action-sheet", problem exists for a while now. [disabled]="i==0" should work. Share.
Read more >
Ionic Select - javatpoint
The Ionic select component provides a select menu with select options for the user to choose among the set of multiple options. Selects...
Read more >
Select - Ionic API Documentation
When selecting only one option the alert interface presents users with a radio button styled list of options. The action sheet interface can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found