Skip to content

Commit

Permalink
Bruker konstant for max lengde på fritekstfelt
Browse files Browse the repository at this point in the history
  • Loading branch information
matsbyfl committed Dec 5, 2024
1 parent 3ce516a commit 1e635c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/saksbilde/bestillingsordning/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export function FritekstPanel({
description="Sjekk teksten og fjern sensitive opplysninger"
size="small"
value={redigertTekst}
maxLength={150}
maxLength={MAX_LENGDE_BESKJED}
readOnly={harLagretBeskjed}
error={
(error &&
Expand Down

0 comments on commit 1e635c7

Please sign in to comment.