Skip to content

Commit

Permalink
fix(attributes): fix deselecting attribute (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
Birkbjo authored Nov 22, 2023
1 parent aceade9 commit 2cc8801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/dataElements/form/CustomAttributes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function CustomAttribute({ attribute, index }: CustomAttributeProps) {
})
)

if (required) {
if (!required) {
options.unshift({ value: '', label: i18n.t('<No value>') })
}

Expand Down

0 comments on commit 2cc8801

Please sign in to comment.