Skip to content

Commit

Permalink
Merge pull request #1405 from navikt/fix/unterminated-string-in-json
Browse files Browse the repository at this point in the history
change to textarea since it has no limit to input length
  • Loading branch information
magnurh-cx authored Jan 22, 2025
2 parents 20b86eb + f8af939 commit e198c36
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const DownloadPdfButton = ({ id, values, actionUrl, label, onSubmit, submissionM
<form id={id} action={actionUrl} onSubmit={onSubmit} method="post" acceptCharset="utf-8" target="_blank" hidden>
{values &&
Object.entries(values).map(([key, value]) => (
<input hidden readOnly={true} type="text" name={key} key={key} value={value ?? ''} />
<textarea hidden readOnly={true} name={key} key={key} value={value ?? ''} />
))}
<input type="text" name="submissionMethod" value={submissionMethod} readOnly={true} />
</form>
Expand Down

0 comments on commit e198c36

Please sign in to comment.