CodeChefVIT / CodeChefVIT/ffcs

On update clear field for the subsequent dropdowns

未关闭
#248 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
6
派生
25
PR 合并指标
30 天内没有已合并 PR

描述

# 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.

贡献指南

打开贡献指南

调研方向

首先跟踪 issue 中描述的课程类型、确切课程和时段下拉框,重现 Image 1 中所示的过时选择流程。验证更改较早的选择会清除每个后续字段,并且无需点击 X 图标即可选择刷新后的下拉框。

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

评估

技术栈
typescript
领域
frontend
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

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