Skip to content

Commit

Permalink
feat: lba 2111: maj niv diplome par défaut sur depot offre (#1211)
Browse files Browse the repository at this point in the history
* feat: lba 2111: maj niv diplome par défaut sur depot offre

* feat: set default job lvl label

---------

Co-authored-by: Kevin Barnoin <[email protected]>
  • Loading branch information
guilletmarion and kevbarns authored Apr 30, 2024
1 parent e8e20c2 commit e6a1388
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ui/components/espace_pro/AjouterVoeux.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ const AjouterVoeuxForm = (props) => {
rome_label: props.rome_label ?? "",
rome_appellation_label: props.rome_appellation_label ?? "",
rome_code: props.rome_code ?? [],
job_level_label: props.job_level_label ?? "",
job_level_label: props.job_level_label ?? "Indifférent",
job_start_date: props.job_start_date ? dayjs(props.job_start_date).format(DATE_FORMAT) : "",
job_description: props.job_description ?? undefined,
job_creation_date: props.job_creation_date ?? dayjs().format(DATE_FORMAT),
Expand Down Expand Up @@ -269,9 +269,6 @@ const AjouterVoeuxForm = (props) => {
<FormControl mt={6} isRequired>
<FormLabel>Niveau visé en fin d’études</FormLabel>
<Select size="md" name="job_level_label" defaultValue={values.job_level_label} onChange={handleChange}>
<option value="" hidden>
Choisissez un niveau
</option>
<option value="Indifférent">Indifférent</option>
<option value="Cap, autres formations niveau (Infrabac)">Cap, autres formations niveau (Infrabac)</option>
<option value="BP, Bac, autres formations niveau (Bac)">BP, Bac, autres formations niveau (Bac)</option>
Expand Down

0 comments on commit e6a1388

Please sign in to comment.