Skip to content

Commit

Permalink
reduce range of birthyear
Browse files Browse the repository at this point in the history
  • Loading branch information
MaHaWo committed Sep 23, 2024
1 parent d18ee2c commit cfdf524
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions frontend/src/routes/userLand/userDataInput/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
additionalValue: null,
props: {
name: 'Geburtsjahr',
items: numericalRange(100, 1960, 1, true),
items: numericalRange(60, 1960, 1, true),
placeholder: 'Bitte auswählen',
label: 'Geburtsjahr',
required: true
Expand All @@ -49,19 +49,19 @@
additionalValue: null,
props: {
name: 'Geschlecht',
items: ['männlich', 'weiblich', 'divers', 'Andere'].map((v) => {
items: ['männlich', 'weiblich', 'divers', 'Anderes'].map((v) => {
return { label: String(v), value: v };
}),
placeholder: 'Bitte auswählen',
label: 'Geschlecht',
required: true,
textTrigger: 'Andere',
textTrigger: 'Anderes',
unique: true,
selected: [false, false, false, false]
}
},
{
component: CheckboxList,
component: Select,
value: null,
additionalValue: null,
props: {
Expand All @@ -76,14 +76,12 @@
'Promotion',
'Anderer'
].map((v) => {
return { label: String(v), value: v };
return { name: String(v), value: v };
}),
placeholder: 'Bitte auswählen',
required: true,
label: 'Höchster Bildungsabschluss',
textTrigger: 'Anderer',
unique: true,
selected: [false, false, false, false, false, false, false, false]
textTrigger: 'Anderer'
}
},
{
Expand Down

0 comments on commit cfdf524

Please sign in to comment.