Skip to content

Commit

Permalink
make the id on register page the same value (#434)
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoalzate authored May 6, 2024
1 parent baaf76d commit a942fcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/berlin/src/pages/Register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ function SelectInput(props: {
label={props.name}
placeholder="Choose a value"
required={!!props.required}
options={props.options.map((option) => ({ id: option.id, name: option.value }))}
options={props.options.map((option) => ({ id: option.value, name: option.value }))}
errors={props.errors[props.id] ? [props.errors[props.id]?.message ?? ''] : []}
onBlur={field.onBlur}
onChange={(val) => field.onChange(val)}
Expand Down

0 comments on commit a942fcc

Please sign in to comment.