CodeChefVIT / CodeChefVIT/ffcs

On update clear field for the subsequent dropdowns

Đang mở
#248 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
6
Fork
25
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

# Problem

There is a minor inconvenience during the drop-down selection for the course type, the exact course, and the slot for it. The issue is that every time a user selects, for example, a new subject, the slot for the same subject does not appear. The user needs to go and click on the X icon, then remove the slot, click on it again, and then select a new slot. Same goes for course tag also. For example if a person goes from foundation course to discipline course, the previous course and the search bar are still appearing where you have to click on the x icon again.

image 1 gives more visual clarity on the issue

## Image 1

Image

___

# Solution

I'd propose a simple solution is that when a user selects another input field for either the course or course type or the course itself, the subsequent drop-downs clear the input field and the user can just click on it again as if it was a fresh input.

So if a user goes from a formational code to a discipline code, the subsequent dropdown for the course type and the slot clear themselves and the user can select the new subject or the slot as needed.

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

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

Hướng nghiên cứu

Bắt đầu bằng cách theo dõi các dropdown loại khóa học, khóa học chính xác và slot được mô tả trong issue, tái hiện luồng lựa chọn cũ được hiển thị trong Image 1. Xác minh rằng việc thay đổi một lựa chọn trước đó sẽ xóa từng trường tiếp theo và các dropdown đã được làm mới có thể được chọn mà không cần nhấp vào biểu tượng X.

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

Đánh giá

Công nghệ
typescript
Lĩnh vực
frontend
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
55/100

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.