-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Closed
Labels
package: core@ionic/core package@ionic/core packagetype: feature requesta new feature, enhancement, or improvementa new feature, enhancement, or improvement
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
- v4.x
- v5.x
- v6.x
- Nightly
Current Behavior
Developers are unable to customize the icon that is displayed with ion-select
. Developers can change the color of the icon by using CSS:
ion-select::part(icon) {
color: red;
}
But this does not allow the flexibility for developers to customize the icon used.
Ideally, developers would like a property or slot that can be used to customize the icon that is used.
@Prop() toggleIcon = chevronDown;
<ion-select [toggleIcon]="arrowDown"></ion-select>
This icon could then be styled using CSS shadow parts, as the existing implementation is today.
MarkRabey, FazioNico, lonesha, hbolte, zer09 and 5 more
Metadata
Metadata
Assignees
Labels
package: core@ionic/core package@ionic/core packagetype: feature requesta new feature, enhancement, or improvementa new feature, enhancement, or improvement