Skip to content

Commit

Permalink
Tillat 12000 tegn i revurdering (#6456)
Browse files Browse the repository at this point in the history
* Tillat 12000 tegn i tilbakekrevingsform

* Tillat 12000 tegn i flere situasjoner
  • Loading branch information
audunel authored Aug 7, 2024
1 parent fe67981 commit c680b93
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import styles from './feilutbetalingInfoPanel.module.css';

const formName = 'FaktaFeilutbetalingForm';
const minLength3 = minLength(3);
const maxLength1500 = maxLength(1500);
const maxLength12000 = maxLength(12000);
const feilutbetalingAksjonspunkter = [aksjonspunktCodesTilbakekreving.AVKLAR_FAKTA_FOR_FEILUTBETALING];

export class FeilutbetalingInfoPanelImpl extends Component {
Expand Down Expand Up @@ -249,8 +249,8 @@ export class FeilutbetalingInfoPanelImpl extends Component {
<TextAreaField
name="begrunnelse"
label={{ id: 'FeilutbetalingInfoPanel.Begrunnelse' }}
validate={[required, minLength3, maxLength1500, hasValidText]}
maxLength={1500}
validate={[required, minLength3, maxLength12000, hasValidText]}
maxLength={12000}
readOnly={readOnly}
id="begrunnelse"
/>
Expand Down
9 changes: 5 additions & 4 deletions packages/prosess-avregning/src/components/AvregningPanel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import styles from './avregningPanel.module.css';

const minLength3 = minLength(3);
const maxLength1500 = maxLength(1500);
const maxLength12000 = maxLength(12000);
const simuleringAksjonspunkter = [aksjonspunktCodes.VURDER_FEILUTBETALING];
const formName = 'AvregnigForm';
const IKKE_SEND = 'IKKE_SEND';
Expand Down Expand Up @@ -156,8 +157,8 @@ export class AvregningPanelImpl extends Component {
<TextAreaField
name="begrunnelse"
label={{ id: 'Avregning.vurdering' }}
validate={[required, minLength3, maxLength1500, hasValidText]}
maxLength={1500}
validate={[required, minLength3, maxLength12000, hasValidText]}
maxLength={12000}
readOnly={readOnly}
id="avregningVurdering"
/>
Expand Down Expand Up @@ -199,8 +200,8 @@ export class AvregningPanelImpl extends Component {
<TextAreaField
name="varseltekst"
label={{ id: 'Avregning.fritekst' }}
validate={[required, minLength3, maxLength1500, hasValidText]}
maxLength={1500}
validate={[required, minLength3, maxLength12000, hasValidText]}
maxLength={12000}
readOnly={readOnly}
id="avregningFritekst"
badges={[
Expand Down

0 comments on commit c680b93

Please sign in to comment.