ionic-team / ionic-team/ionic-framework

bug: Datetime active day does not clear when pressing cancel and re-opening

Đang mở
#27,975 3 bình luận 1 reaction 0 người được giao Xem trên GitHub
package: core type: bug
Ngôn ngữ chính
TypeScript
Star
52.7k
Fork
13.3k
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
51

Mô tả

### Describe the Bug

On pressing default Cancel Button in ion-datetime with ion-datetime-button and opening the ion-datetime again the date that was canceled is preselected.

### Expected Behavior

on pressing the cancel button and opening the ion-datetime again should select the date that wasn't the one that was selected on cancel

### Steps to Reproduce
```






```

use this and click the button and select a date and then press the cancel button
now click on the button again, the date selected will be one selected when we pressed cancel not the one that is in ion-daretime-button

Reproduction: https://stackblitz.com/edit/angular-h94fr8?file=src%2Fapp%2Fexample.component.html

### Screenshots

_No response_

### Operating System

macOS

### Browser

Chrome

### Version

115.0.5790.170

### Additional Information

_No response_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.