fix(07-01): fix job type dropdown not pre-populating on edit

Improved JavaScript to use case-insensitive matching for select fields, so 'vollzeit' matches 'Vollzeit'. Also normalized all job_type values to lowercase when saving to ensure consistency.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-17 21:27:49 +09:00
parent 9142b56a9f
commit 0c9ebb9e89
2 changed files with 19 additions and 2 deletions

View File

@@ -619,7 +619,7 @@ class DDHH_JM_Formidable {
break;
case 'job_type':
case 'job_type2':
$job_type = sanitize_text_field( $value );
$job_type = strtolower( sanitize_text_field( $value ) );
break;
case 'job_deadline':
case 'job_deadline2':