feat(profile-academic): implement stream-based dependent academic dropdowns
Description:
Summary
Update the Academic Details section in the profile completion flow by replacing the existing Organisation Type field with a new Academic Stream field.
Based on the selected academic stream, the dependent dropdowns:
- University
- College / Institution
- Specialization
should dynamically display only the relevant data associated with the selected stream.
Current Behavior
- The form currently uses
Organisation Type(Engineering, Degree, Pharmacy, etc.). - University, College, and Specialization dropdowns are not fully filtered based on the selected category.
- Users may see unrelated universities, colleges, or specializations.
Expected Behavior
-
Replace
Organisation TypewithAcademic Stream. -
When a user selects an academic stream:
- Only universities related to that stream should be displayed.
- After selecting a university, only colleges/institutions under that university and stream should appear.
- After selecting a college/institution, only relevant specializations should be shown.
Functional Requirements
-
Add new dropdown:
- Academic Stream
-
Implement cascading/dependent dropdown behavior:
- Academic Stream → University
- University → College / Institution
- College / Institution → Specialization
-
Reset dependent fields when parent selection changes.
-
Ensure search functionality inside dropdowns continues to work properly.
-
Maintain validation and existing form submission flow.
Acceptance Criteria
-
Academic StreamreplacesOrganisation Type. - Dropdown values are filtered dynamically based on selection hierarchy.
- No unrelated universities/colleges/specializations are displayed.
- Changing Academic Stream resets downstream selections.
- UI/UX remains responsive and consistent across desktop and mobile views.
- Existing profile completion functionality works without regression.
Suggested Academic Streams
Examples:
- Engineering
- Degree
- Pharmacy
- Medical
- Polytechnic
- Law
- Management
- Others