-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already include this feature request, without success.
Describe the Feature Request
A new config property to set the default icon for detail-icon on <ion-item>. Just as it works for setting the default icon for <ion-menu-button>
Describe the Use Case
We want to use our own custom icon for items with detail="true" and having to add the detail-icon attribute on every item is a lot of effort and prone to design issues if a developer forgets to do it.
Describe Preferred Solution
Add new config property
Describe Alternatives
No response
Related Code
No response
Additional Information
There was the same feature request already in #19906
The answer with a custom wrapper component that default sets the attribute is imho not satisfying as it poses one critical problem: A default component renders markup which makes the Ionic default styling for items in lists, etc. with first-child selectors etc. not work anymore. This kind of breaks the framework and is not a good proposed solution