Automattic / Automattic/WP-Job-Manager

Application Form - Can't select past date in date picker

Open
#2,858 0 comments 0 reactions 0 assignees View on GitHub
Bug
Dominant language
PHP
Stars
899
Forks
369
Avg merge
11h 37m
Merged PRs (30d)
12

Description

**Describe the bug**
Date pickers in application forms cannot be used to select dates in the past.

**To Reproduce**
Steps to reproduce the behavior:
1. Create an application form that has a "Date" field.
2. View the application form from the front end.
3. Select a date on the date picker.
4. Notice that it is only possible to select today's date and future dates.

**Screenshot**
![Image](https://github.com/user-attachments/assets/d4517d7e-0a37-4e5b-8338-fb2fec9d34ef)

**Expected behavior**
Selecting a date in the past should be possible.

**Isolating the problem (mark completed items with an [x]):**
- [x] I have deactivated other plugins and confirmed this bug occurs when only WP Job Manager plugin is active.
- [x] This bug happens with a default WordPress theme active.
- [x] I can reproduce this bug consistently using the steps above.

**WordPress Environment**

Replicated on demo site:
- WordPress Version: 6.4.2
- WP Job Manager Version: 2.4.0
- PHP Version: 8.1.20

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in a front-end application form with a Date field, using the listed WordPress and WP Job Manager versions if available. Trace the date-picker behavior from that form; done means dates before today can be selected while the existing date selection behavior remains functional.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.