Skip to content

Commit

Permalink
Tillat 12000 tegn i tilbakekrevingsform (#6450)
Browse files Browse the repository at this point in the history
  • Loading branch information
audunel authored Aug 7, 2024
1 parent 413a129 commit 5c4699c
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import BelopetMottattIGodTroFormPanel, {
} from './tilbakekrevingPeriodePaneler/godTro/BelopetMottattIGodTroFormPanel';

const minLength3 = minLength(3);
const maxLength1500 = maxLength(1500);
const maxLength12000 = maxLength(12000);

export const TILBAKEKREVING_PERIODE_FORM_NAME = 'TilbakekrevingPeriodeForm';

Expand Down Expand Up @@ -311,8 +311,8 @@ export class TilbakekrevingPeriodeFormImpl extends Component<
<TextAreaField
name="begrunnelse"
label={{ id: 'TilbakekrevingPeriodeForm.Vurdering' }}
validate={[required, minLength3, maxLength1500, hasValidText]}
maxLength={1500}
validate={[required, minLength3, maxLength12000, hasValidText]}
maxLength={12000}
readOnly={readOnly}
placeholder={intl.formatMessage({ id: 'TilbakekrevingPeriodeForm.Vurdering.Hjelpetekst' })}
/>
Expand Down Expand Up @@ -360,8 +360,8 @@ export class TilbakekrevingPeriodeFormImpl extends Component<
? 'TilbakekrevingPeriodeForm.VurderingMottattIGodTro'
: 'TilbakekrevingPeriodeForm.VurderingAktsomhet',
}}
validate={[required, minLength3, maxLength1500, hasValidText]}
maxLength={1500}
validate={[required, minLength3, maxLength12000, hasValidText]}
maxLength={12000}
readOnly={readOnly}
/>
<VerticalSpacer eightPx />
Expand Down

0 comments on commit 5c4699c

Please sign in to comment.