Disabling an open Select still allows option changes

Đang mở
#949 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
angular, typescript
Lĩnh vực
frontend

Hướng nghiên cứu

The payload names only the Select control's disabled input and its open options list, not a file. Start by finding the Select component in this Angular library and reading how it handles disabled state while the options panel is open. Reproduce with the steps in the issue, then check that the panel closes, the value stays Draft, and no valueChanged event fires after clicking Confirmed.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Reproduction
  1. Render the Select with Draft selected and open its options.
  2. Set the control's disabled input to true while the options are open.
  3. Click Confirmed in the list.

Chrome reproduction

Expected behavior

The options close, the value stays Draft, and no valueChanged event fires.

Actual behavior

The options stay interactive. Clicking Confirmed changes the value and fires an event.

Reproduced in Chrome 157 on master at aa80e58.

Ngôn ngữ chính
TypeScript
Star
9
Fork
8
Merge trung bình
1 ngày 6 giờ
Pull request đã merge (30 ngày)
25

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của AbsaOSS/cps-shared-ui

Tất cả issue của AbsaOSS/cps-shared-ui

Issue tương tự

Thêm issue về TypeScript

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.