ion-select-option -> ion-select interface="action-sheet"
See original GitHub issueDescription: 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:
- Created 3 years ago
- Comments:11 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.
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.