diff --git a/CHANGES.md b/CHANGES.md index 39fb62ff..f8cf5666 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,6 @@ -## 17.1.4 +## 17.2.0 +- Added prop to be able to hide validationSummary in form - Fixed aria-label accessibility bug on anchorlinks ## 17.1.3 diff --git a/package.json b/package.json index fb34f1da..77ca1bee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@helsenorge/refero", - "version": "17.1.4", + "version": "17.2.0", "description": "Refero is a library that uses a fhir r4 schema and creates a interactive form using helsenorge packages.", "keywords": [ "react", diff --git a/preview/FormFillerPreview.tsx b/preview/FormFillerPreview.tsx index b7839513..fc24d233 100644 --- a/preview/FormFillerPreview.tsx +++ b/preview/FormFillerPreview.tsx @@ -283,7 +283,7 @@ const FormFillerPreview = (): JSX.Element => { attachmentValidTypes={[MimeType.PNG, MimeType.JPG, MimeType.JPEG, MimeType.PDF, MimeType.PlainText]} attachmentMaxFileSize={10000000} attachmentErrorMessage={hasTooManyAttachments(questionnaireResponse) ? 'For mange vedlegg' : undefined} - hideValidationSummary={true} + hideValidationSummary={false} onRequestHelpButton={(_1, _2, _3, _4, opening) => { return ; }}