Skip to content

Commit

Permalink
Merge 303a2bd into 54ba483
Browse files Browse the repository at this point in the history
  • Loading branch information
HalvorHaugan authored Mar 20, 2024
2 parents 54ba483 + 303a2bd commit 618d2d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/famous-panthers-appear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@navikt/ds-react": patch
---

FileUpload.Dropzone: Fiks feil med duplisert id
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ const Dropzone = forwardRef<HTMLInputElement, FileUploadDropzoneProps>(
<BodyShort as="div">{translate("dropzone.or")}</BodyShort>
</div>
<Button
{...omit(rest, ["errorId"])}
{...omit(rest, ["errorId", "id"])}
{...inputPropsRest}
aria-describedby={cl(labelId, ariaDescribedby)}
className="navds-dropzone__area-button"
Expand Down

0 comments on commit 618d2d2

Please sign in to comment.