Skip to content

Commit

Permalink
add conditonal rendering if value exists
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBenediktBusch committed Feb 14, 2024
1 parent 5c6e092 commit 9c9ac4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/berlin/src/pages/Account.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ function AccountForm({
onBlur={field.onBlur}
value={field.value}
onOptionCreate={field.onChange}
placeholder="Select or create credential"
placeholder={field.value ? field.value : "Select or create credential"}
errors={[
errors.userAttributes?.credentialsGroup?.[i]?.credential?.message ?? '',
]}
Expand Down

0 comments on commit 9c9ac4a

Please sign in to comment.