Application modal opens despite disabled apply state and deadline date handling issue #2

Closed
opened 2026-01-03 19:38:41 +05:30 by mohakj · 1 comment
Contributor

Problem
The job application modal can still be opened even when the Apply button is disabled.
Job application deadline handling assumes a Date object, which can cause runtime issues when the value is a string.

Expected Behavior
The application modal should not open when the user is not eligible to apply.
Application deadlines should be handled safely regardless of the source type.

Impact
Can lead to invalid application attempts
Potential runtime errors during date formatting

Suggested Approach
Normalize application deadline before usage
Prevent modal trigger when application is disabled

Problem The job application modal can still be opened even when the Apply button is disabled. Job application deadline handling assumes a Date object, which can cause runtime issues when the value is a string. Expected Behavior The application modal should not open when the user is not eligible to apply. Application deadlines should be handled safely regardless of the source type. Impact Can lead to invalid application attempts Potential runtime errors during date formatting Suggested Approach Normalize application deadline before usage Prevent modal trigger when application is disabled
Collaborator

Fixed by #3

Fixed by #3
Sign in to join this conversation.
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Arnab-Afk/nextplacement#2