You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for existing issues that already include this feature request, without success.
Describe the Feature Request
I would like to add something to closed task: #24963
It would be great to have "part=xyz" defined in ion-datetime element, to be more flexible for special requirements. Read my use case to understand what I e.g. mean
Describe the Use Case
I needed to build a date wheel like that, were user can choose a day within the next few days comfortable while showing the weekday.
And then put it do a container with overflow: hidden and margin top of -40px. That code is a freak of nature. I think it would be much easier to style it with parts. I could hide things and change height and so on.
Describe Preferred Solution
Add part= to parts of ion-datetime, to be able to style it from outside
Describe Alternatives
More options for datewheel: A height and option to input date format or something like that
Template parts to override ion-datetime parts with?
Related Code
See code in "use case" part
Additional Information
I don`t really get why you won`t let us style elements like that, or add template parts to add custom template parts.
I understand, that the idea is that you normally should not have to change the ionic elements, because you have a theme. But there will always be special things for some UIs, and it`s not a good idea that I have to install external component libraries with npm then only because customizing ionic components is limited strongly.
The text was updated successfully, but these errors were encountered:
Thanks for the report. We have two existing feature requests for this, so I am going to close this ticket in favor of the existing tickets: #25945 and #25340 (The first issue seems to be more relevant to your request than the second issue)
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Uh oh!
There was an error while loading. Please reload this page.
Prerequisites
Describe the Feature Request
I would like to add something to closed task: #24963
It would be great to have "part=xyz" defined in ion-datetime element, to be more flexible for special requirements. Read my use case to understand what I e.g. mean
Describe the Use Case
I needed to build a date wheel like that, were user can choose a day within the next few days comfortable while showing the weekday.
I needed to do something like that for it:
And then put it do a container with
overflow: hidden
and margin top of-40px
. That code is a freak of nature. I think it would be much easier to style it with parts. I could hide things and change height and so on.Describe Preferred Solution
Add
part=
to parts of ion-datetime, to be able to style it from outsideDescribe Alternatives
Related Code
See code in "use case" part
Additional Information
I don`t really get why you won`t let us style elements like that, or add template parts to add custom template parts.
I understand, that the idea is that you normally should not have to change the ionic elements, because you have a theme. But there will always be special things for some UIs, and it`s not a good idea that I have to install external component libraries with npm then only because customizing ionic components is limited strongly.
The text was updated successfully, but these errors were encountered: