Stepper should provide an click event for step changes
- Ngôn ngữ chính
- TypeScript
- Star
- 25k
- Fork
- 6.8k
- Merge trung bình
- 1 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 91
Mô tả
Bug, feature request, or proposal:
Feature request
What is the expected behavior?
Add an click event that gets triggered when the step is clicked in the stepper component
What is the current behavior?
There's no such event.
What are the steps to reproduce?
NA
What is the use-case or motivation for changing an existing behavior?
We have some business logic that we need to save at each step. We have to show the message on click of step "Are you confirm?", we implemented with button click but unable to do in step click, and it's moving forward to next step on clicking of step.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 9+
Angular material 11.2
Is there anything else we should know?
Tried to use selectionChange event, no use.its working after the click event. i want to show or prevent before the change event.
needs to add click event on step like above. As of there is no option like that
Hướng dẫn đóng góp
Hướng nghiên cứu
Xác định phần triển khai stepper của Angular Material đứng sau mat-horizontal-stepper và mat-step, sau đó lần theo các luồng điều hướng của selectionChange và step-click. Xem xét các bài kiểm thử stepper liên quan nếu có; công việc hoàn tất khi tương tác step được yêu cầu đã được bao phủ và hỗ trợ hành vi xác nhận hoặc ngăn chặn được mô tả trong issue.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- angular, typescript
- Lĩnh vực
- frontend
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 38/100