ionic-team / ionic-team/ionic-framework

feat: ion-datetime to show day picker when selecting month and year

未关闭
#30,774 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
type: feature request
主要语言
TypeScript
星标
52.7k
派生
13.3k
平均合并
1 天 15 小时
30 天内合并 PR
51

描述

### Prerequisites

- [x] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#creating-an-issue).
- [x] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [x] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already include this feature request, without success.

### Describe the Feature Request

Can we have day picker when selecting month and year ?

![Image](https://github.com/user-attachments/assets/461f7894-77e8-4c1d-b45e-ddba044c4b1e)

### Describe the Use Case

A day picker when selecting month and date would be a better UX.

### Describe Preferred Solution

currently this i my setup:

html:
```
@if(!isDateTIme){

}
@else{

}
```

.ts:

```
submitDob(e: any) {
this.isDateTIme = false;
}

onDateFocus(e: any) {
this.isDateTIme = true;
}
```

### Describe Alternatives

none

### Related Code

```
@if(!isDateTIme){

}
@else{

}
```

```
submitDob(e: any) {
this.isDateTIme = false;
}

onDateFocus(e: any) {
this.isDateTIme = true;
}
```

### Additional Information

_No response_

贡献指南

打开贡献指南

调研方向

No source files, tests, or entry points are named. Start by reproducing the provided ion-datetime Angular setup with month and year selection, then inspect the component implementation and existing date-picker tests; done means the agreed UX for showing a day picker is implemented and covered by tests.

由索引模型根据 Issue 内容生成。

评估

技术栈
angular, typescript
领域
frontend, mobile
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。