Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Submitting existing job doesn't pre-fill with posted values #1814

Closed
dsaric-dev opened this issue Jul 1, 2019 · 0 comments · Fixed by #2103
Closed

Submitting existing job doesn't pre-fill with posted values #1814

dsaric-dev opened this issue Jul 1, 2019 · 0 comments · Fixed by #2103

Comments

@dsaric-dev
Copy link

dsaric-dev commented Jul 1, 2019

WP Job Manager will use posted values to pre-fill form data in case when listing is new, but it doesn't seem to do that when editing existing listing, and instead pre-fills the form data with existing listing data (if a server side validation error occurs).

Steps to Reproduce

  1. Visit job dashboard, edit existing listing
  2. Make a change to any field
  3. Bypass client side validation (html5 required attribute) for some required field and make that field empty to trigger server side validation error
  4. Any changes made in 2. are lost

WordPress / WP Job Manager Version

Reproducible on https://demo.wpjobmanager.com

Screenshot / Video

https://www.dropbox.com/s/ccvdsilgaqvjzvp/2019-07-01_04-57-22.mp4?dl=0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants