Skip to content

Commit

Permalink
Merge pull request #5403 from hmcts/DTSCCI-1440
Browse files Browse the repository at this point in the history
DTSCCI-1440 Remove character limit for the Claim Summary and Defence Summary
  • Loading branch information
anirudha-deshpande authored Jan 20, 2025
2 parents aade366 + 94ab899 commit 82c2107
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions src/main/common/form/models/defence.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import {IsDefined, IsNotEmpty, MaxLength} from 'class-validator';
import {IsDefined, IsNotEmpty} from 'class-validator';

export class Defence {
@IsDefined({message: 'ERRORS.DEFENCE_REQUIRED'})
@IsNotEmpty({message: 'ERRORS.DEFENCE_REQUIRED'})
@MaxLength(800, {message: 'ERRORS.TEXT800_TOO_LONG'})
text?: string;

constructor(text?: string) {
Expand Down
1 change: 0 additions & 1 deletion src/main/modules/i18n/locales/cy.json
Original file line number Diff line number Diff line change
Expand Up @@ -5185,7 +5185,6 @@
"ADDRESS_LINE_TOO_MANY_JO": "Ni ddylai bob llinell y cyfeiriad fod yn hirach na 35 o nodau",
"TOWN_CITY_TOO_MANY": "Ni ddylai tref neu ddinas fod yn hirach na 50 o nodau",
"TOWN_CITY_TOO_MANY_JO": "Ni ddylai tref neu ddinas fod yn hirach na 35 o nodau",
"TEXT800_TOO_LONG": "Rhaid i'r rheswm fod yn 800 o nodau neu'n llai",
"THERE_IS_A_PROBLEM": "Mae yna broblem",
"THERE_WAS_A_PROBLEM": "Roedd problem",
"TRY_AGAIN": "Rhowch gynnig arall arni neu teipiwch y cyfeiriad.",
Expand Down
1 change: 0 additions & 1 deletion src/main/modules/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -5185,7 +5185,6 @@
"ADDRESS_LINE_TOO_MANY_JO": "Each address line must be no longer than 35 characters",
"TOWN_CITY_TOO_MANY": "Town or City must no longer than 50 characters",
"TOWN_CITY_TOO_MANY_JO": "Town or City must no longer than 35 characters",
"TEXT800_TOO_LONG": "Reason must be 800 characters or fewer",
"THERE_IS_A_PROBLEM": "There is a problem",
"THERE_WAS_A_PROBLEM": "There was a problem",
"TRY_AGAIN": "Try again or enter the address manually.",
Expand Down

0 comments on commit 82c2107

Please sign in to comment.