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:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user