CodeChefVIT / CodeChefVIT/ffcs
On update clear field for the subsequent dropdowns
- Dominant language
- TypeScript
- Stars
- 6
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
# 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
___
# 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.
Contributor guide
Research direction
Start by tracing the course type, exact course, and slot dropdowns described in the issue, reproducing the stale-selection flow shown in Image 1. Verify that changing an earlier selection clears each subsequent field and that the refreshed dropdowns can be selected without clicking the X icon.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100